aboutsummaryrefslogtreecommitdiff
path: root/module/sxml/html.scm
diff options
context:
space:
mode:
Diffstat (limited to 'module/sxml/html.scm')
-rw-r--r--module/sxml/html.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/module/sxml/html.scm b/module/sxml/html.scm
index 94015460..473cfd9e 100644
--- a/module/sxml/html.scm
+++ b/module/sxml/html.scm
@@ -364,6 +364,8 @@ ist ATTRS and the child nodes in BODY."
(pi->html type body port))
(('*TOP* nodes ...)
(for-each (cut sxml->html <> port) nodes))
+ ((? procedure? proc) ; is whole tree a procedure
+ (with-output-to-port port proc))
(((? symbol? tag) ('@ attrs ...) body ...)
(element->html tag attrs body port))
(((? symbol? tag) body ...)