From 709c6f68da124d9fd916aa02f4bd95ca2c197db6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Sat, 11 Jun 2022 23:08:41 +0200 Subject: Add to xhtml-doc macro. The doctype declaration is "required" when outputing regular HTML, and fine when output XHTML. Also remove the tests of xhtml-doc, since they basically just copied the deffinition (and stoped working since a procedure can't easily be tested for equality). --- module/calp/html/components.scm | 1 + 1 file changed, 1 insertion(+) (limited to 'module') diff --git a/module/calp/html/components.scm b/module/calp/html/components.scm index 9b3e4ce0..6ff59502 100644 --- a/module/calp/html/components.scm +++ b/module/calp/html/components.scm @@ -12,6 +12,7 @@ ((_ (@ attr ...) body ...) `(*TOP* (*PI* xml "version=\"1.0\" encoding=\"utf-8\"") + ,(lambda () (format #t "~%~%")) (html (@ (xmlns "http://www.w3.org/1999/xhtml") attr ...) body ...))) ((_ body ...) -- cgit v1.2.3