From: Valenoern Date: Sat, 28 May 2022 10:43:20 +0000 (+0200) Subject: Support html template tag in shr X-Git-Tag: emacs-29.0.90~1910^2~367 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f65536015b143571b81f8eb1f064d73014a86fec;p=emacs.git Support html template tag in shr * lisp/net/shr.el: Add shr-tag-template as a dummy tag. Copyright-paperwork-exempt: yes --- diff --git a/lisp/net/shr.el b/lisp/net/shr.el index 6b05cbcf4f5..505a093392e 100644 --- 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)