]> git.eshelyaron.com Git - emacs.git/commitdiff
Support html template tag in shr
authorValenoern <valenoern@distributary.network>
Sat, 28 May 2022 10:43:20 +0000 (12:43 +0200)
committerLars 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

index 6b05cbcf4f5a989dc1f0ed76dbaac5c9736a8291..505a093392e990349a044523163b26cb988ef515 100644 (file)
@@ -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)