summaryrefslogtreecommitdiff
path: root/lisp/net
diff options
context:
space:
mode:
authorMattias EngdegÄrd <mattiase@acm.org>2021-11-18 15:05:47 +0100
committerMattias EngdegÄrd <mattiase@acm.org>2021-11-18 20:54:32 +0100
commit09a5dd862832ffe82914baeab0ba7d4a0ab5fb62 (patch)
tree9194c6d3347598d2dd4ea02aed3ccc496f908efc /lisp/net
parent03fba4da8fc689dabc65e693631cd17d819b5135 (diff)
downloademacs-09a5dd862832ffe82914baeab0ba7d4a0ab5fb62.tar.gz
emacs-09a5dd862832ffe82914baeab0ba7d4a0ab5fb62.tar.bz2
emacs-09a5dd862832ffe82914baeab0ba7d4a0ab5fb62.zip
String backslash corrections
* lisp/net/shr.el (shr-tag-video): Remove ineffective backslash. * test/lisp/emacs-lisp/package-tests.el (package-test-macro-compilation-gz): Make dot literal as intended.
Diffstat (limited to 'lisp/net')
-rw-r--r--lisp/net/shr.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/net/shr.el b/lisp/net/shr.el
index b9e8a18e25a..5a36f19c5f1 100644
--- a/lisp/net/shr.el
+++ b/lisp/net/shr.el
@@ -1697,7 +1697,7 @@ The preference is a float determined from `shr-prefer-media-type'."
(xwidget-webkit-execute-script
widget (format "document.body.innerHTML = %S;"
(format
- "<style>body { margin: 0px; }</style><div style='background: black; height: 100%%; display: flex; align-items: center; justify-content: center;'><video autoplay loop muted controls style='max-width: 100%%; max-height: 100%%;'><source src=%S type='video/mp4\'></source></video></div>"
+ "<style>body { margin: 0px; }</style><div style='background: black; height: 100%%; display: flex; align-items: center; justify-content: center;'><video autoplay loop muted controls style='max-width: 100%%; max-height: 100%%;'><source src=%S type='video/mp4'></source></video></div>"
url)))))
;; No xwidgets.
(if (> (length image) 0)