mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-19 13:49:17 +02:00
Merge pull request #585 from ekaitz-zarraga/safe-string
[WIP] Add option to ignore escaping
This commit is contained in:
commit
4ad228a0f6
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Reference in a new issue