[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-27 1b7ab9d: Don't render XML declaration of an HTML document (bug#
From: |
Stephen Berman |
Subject: |
emacs-27 1b7ab9d: Don't render XML declaration of an HTML document (bug#44348) |
Date: |
Mon, 2 Nov 2020 17:24:36 -0500 (EST) |
branch: emacs-27
commit 1b7ab9d0ac2edf88d8c12346a6c0c1301670f858
Author: Stephen Berman <Stephen.Berman@gmx.net>
Commit: Stephen Berman <stephen.berman@gmx.net>
Don't render XML declaration of an HTML document (bug#44348)
* lisp/net/eww.el (eww--preprocess-html): Prevent converting the
left angle bracket in the sequence "<?" to an HTML entity.
---
lisp/net/eww.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/net/eww.el b/lisp/net/eww.el
index 449618b..d6f850c 100644
--- 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 "<"))))))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs-27 1b7ab9d: Don't render XML declaration of an HTML document (bug#44348),
Stephen Berman <=