summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--macros.lisp12
1 files changed, 8 insertions, 4 deletions
diff --git a/macros.lisp b/macros.lisp
index 52c6618..ad4dc4b 100644
--- a/macros.lisp
+++ b/macros.lisp
@@ -26,10 +26,14 @@
(yaclml:deftag <xhtml (&attribute dir lang xmlns (prologue t) &body body)
(when prologue
(emit-princ "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">"))
- (emit-open-tag "html" `("dir" ,dir
- "lang" ,lang
- "xml:lang" ,lang
- "xmlns" ,xmlns))
+ (emit-open-tag "html" #+clisp `(("dir" . ,dir)
+ ("lang" . ,lang)
+ ("xml:lang" . ,lang)
+ ("xmlns" . ,xmlns))
+ #-clisp `("dir" ,dir
+ "lang" ,lang
+ "xml:lang" ,lang
+ "xmlns" ,xmlns))
(emit-body body)
(emit-close-tag "html"))