projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd69a50
)
Don't render XML declaration of an HTML document (bug#44348)
author
Stephen Berman
<Stephen.Berman@gmx.net>
Mon, 2 Nov 2020 22:24:20 +0000
(23:24 +0100)
committer
Stephen Berman
<stephen.berman@gmx.net>
Mon, 2 Nov 2020 22:24:20 +0000
(23:24 +0100)
* lisp/net/eww.el (eww--preprocess-html): Prevent converting the
left angle bracket in the sequence "<?" to an HTML entity.
lisp/net/eww.el
patch
|
blob
|
history
diff --git
a/lisp/net/eww.el
b/lisp/net/eww.el
index 449618bd672ffc4fde91fefd22c92294653484e9..d6f850ca3ba193fb3ac27785181f724c4e2b4ee4 100644
(file)
--- a/
lisp/net/eww.el
+++ b/
lisp/net/eww.el
@@
-345,7
+345,7
@@
the default EWW buffer."
(narrow-to-region start end)
(goto-char start)
(let ((case-fold-search t))
- (while (re-search-forward "<[^0-9a-z!/]" nil t)
+ (while (re-search-forward "<[^0-9a-z!
?
/]" nil t)
(goto-char (match-beginning 0))
(delete-region (point) (1+ (point)))
(insert "<"))))))