From 05e4d7558ffe8ff472aa0f3f2b756101f5c0244d Mon Sep 17 00:00:00 2001 From: David Thompson Date: Thu, 18 Mar 2021 18:26:12 -0400 Subject: 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. --- haunt/html.scm | 2 -- 1 file changed, 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 "") port)) (((? symbol? tag) ('@ attrs ...) body ...) (element->html tag attrs body port)) (((? symbol? tag) body ...) -- cgit v1.2.3