[Bese-devel] yaclml: Should not indent before tag
Alan Shutko
ats at acm.org
Thu Feb 24 05:03:46 UTC 2005
yaclml should never emit indentation like this
<
li ...
<
/li>
It's not allowed by the XML spec. Probably is allowed by SGML, but if
we use yaclml to output xhtml, Mozilla refuses to render it correctly.
--- orig/src/yaclml.lisp
+++ mod/src/yaclml.lisp
@@ -110,7 +110,6 @@
"Emit the code required to print an open tag whose name is NAME and
with the attributes attributes."
(emit-princ "<")
- (emit-indentation)
(emit-princ name)
(emit-princ-attributes attributes)
(emit-princ ">")
@@ -120,7 +119,6 @@
"Emit the code required to print a close tag whose name is NAME."
(decf %yaclml-indentation-depth% 2)
(emit-princ "<")
- (emit-indentation)
(emit-princ "/" name ">"))
--
Alan Shutko <ats at acm.org> - I am the rocks.
"Oooo, I never! Well, I might've. I probably did. Sorry, everyone."
More information about the bese-devel
mailing list