Add option to ignore escaping

This commit is contained in:
Ekaitz Zárraga 2019-10-23 20:06:59 +02:00
parent f4b0277d01
commit 12f941dbfe

View file

@ -93,6 +93,9 @@
(display (html-tag->string tag (cdar rest)) out) (display (html-tag->string tag (cdar rest)) out)
(for-each lp (cdr rest)) (for-each lp (cdr rest))
(display "</" out) (display tag out) (display ">" out)) (display "</" out) (display tag out) (display ">" out))
((and (eq? '@raw tag)
(string? (car rest)))
(display (car rest) out))
(else (else
(display (html-tag->string tag '()) out) (display (html-tag->string tag '()) out)
(for-each lp rest) (for-each lp rest)