projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9707613
)
Support html template tag in shr
author
Valenoern
<valenoern@distributary.network>
Sat, 28 May 2022 10:43:20 +0000
(12:43 +0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Sat, 28 May 2022 10:43:20 +0000
(12:43 +0200)
* lisp/net/shr.el: Add shr-tag-template as a dummy tag.
Copyright-paperwork-exempt: yes
lisp/net/shr.el
patch
|
blob
|
history
diff --git
a/lisp/net/shr.el
b/lisp/net/shr.el
index 6b05cbcf4f5a989dc1f0ed76dbaac5c9736a8291..505a093392e990349a044523163b26cb988ef515 100644
(file)
--- a/
lisp/net/shr.el
+++ b/
lisp/net/shr.el
@@
-1326,6
+1326,11
@@
ones, in case fg and bg are nil."
(defun shr-tag-comment (_dom)
)
+;; Introduced in HTML5. For text browsers, functionally similar to a
+;; comment.
+(defun shr-tag-template (_dom)
+ )
+
(defun shr-dom-to-xml (dom &optional charset)
(with-temp-buffer
(shr-dom-print dom)