closing tag seems to missing
Closed this issue · 3 comments
OrganicProgramming commented
When I run following code (with SBCL 2.2.8 ):
(spinneret:with-html-string (:html (:body (:p "Test"))))
I get the following output:
"<html lang=en>
<body>
<p>Test
</body>
</html>"
I.e. the closing </p>
tag seems to be missing.
Some weeks ago I did not observe this behavior so it could be introduced quite recently.
boogsbunny commented
same.
Why is it part of *end-tag-optional*
?
edit: ah, I see. I take it that this is the case here too then:
ruricolist commented
Yes, you can set *html-style*
to :tree
if you want to avoid this behavior.
OrganicProgramming commented
My bad, I learned today that the closing tag for <p>
is not always needed. Thanks for the advice.