Add source to sgml-empty-tags
* lisp/textmodes/sgml-mode.el (html-mode): Add "source" as an empty tag to fix indentation when this element is present (bug#46181).
This commit is contained in:
parent
90ce2b8034
commit
5644ac41c4
1 changed files with 2 additions and 2 deletions
|
@ -2402,9 +2402,9 @@ To work around that, do:
|
|||
|
||||
(setq-local sgml-empty-tags
|
||||
;; From HTML-4.01's loose.dtd, parsed with
|
||||
;; `sgml-parse-dtd', plus manual addition of "wbr".
|
||||
;; `sgml-parse-dtd', plus manual additions of "source" and "wbr".
|
||||
'("area" "base" "basefont" "br" "col" "frame" "hr" "img" "input"
|
||||
"isindex" "link" "meta" "param" "wbr"))
|
||||
"isindex" "link" "meta" "source" "param" "wbr"))
|
||||
(setq-local sgml-unclosed-tags
|
||||
;; From HTML-4.01's loose.dtd, parsed with `sgml-parse-dtd'.
|
||||
'("body" "colgroup" "dd" "dt" "head" "html" "li" "option"
|
||||
|
|
Loading…
Add table
Reference in a new issue