Improve entity handling in the sxml module

This is useful as stexi->shtml uses *ENTITY* so handling this here means that
the HTML output for texinfo is better.
This commit is contained in:
Christopher Baines 2019-12-30 09:51:27 +00:00
parent 82b797ee98
commit 57ee3c8988

View file

@ -359,6 +359,8 @@ list ATTRS and the child nodes in BODY."
;; Unescaped, raw HTML output
(('raw html)
(display html port))
(('*ENTITY* name)
(simple-format port "&~A;" name))
(((? symbol? tag) ('@ attrs ...) body ...)
(element->html tag attrs body port))
(((? symbol? tag) body ...)