diff options
author | David Thompson <dthompson@vistahigherlearning.com> | 2021-03-18 18:26:12 -0400 |
---|---|---|
committer | David Thompson <dthompson@vistahigherlearning.com> | 2021-03-18 18:26:12 -0400 |
commit | 05e4d7558ffe8ff472aa0f3f2b756101f5c0244d (patch) | |
tree | 22e54fe77ff702fd0a51e258f98d34e47be1a3c6 | |
parent | 93334118aa3e156a0c47e76014fabc36b0752ebc (diff) |
Revert "html: Add support for comments."
This reverts commit 93334118aa3e156a0c47e76014fabc36b0752ebc.
You cannot just put an unsanitized string in a comment, because there
certain strings that cannot appear in a comment.
-rw-r--r-- | haunt/html.scm | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/haunt/html.scm b/haunt/html.scm index 319cc3b..5891cd0 100644 --- a/haunt/html.scm +++ b/haunt/html.scm @@ -112,8 +112,6 @@ list ATTRS and the child nodes in BODY." (() *unspecified*) (('doctype type) (doctype->html type port)) - (('!-- comment) - (display (string-append "<!--" comment "-->") port)) (((? symbol? tag) ('@ attrs ...) body ...) (element->html tag attrs body port)) (((? symbol? tag) body ...) |