li tag not closed correctly
fstamour opened this issue · 4 comments
fstamour commented
the simple code
(spinneret:with-html-string
(:li "stuff"))
returns
"<li>stuff"
when it should return
"<li>stuff</li>"
ruricolist commented
That's deliberate; HTML no longer requires li tags to be closed.
fstamour commented
Would it be possible to override that behaviour? I was trying to use spinneret to generate templates (vuejs templates) and the templating engine was loudly complaining about the tag not being closed.
(On the other hand, I could open an issue on vuejs.)
ruricolist commented
There's an override. You can bind the *html-style* variable to :tree.
…On Wed, Feb 2, 2022, 7:20 AM Francis St-Amour ***@***.***> wrote:
Would it be possible to override that behaviour? I was trying to use
spinneret to generate templates (vuejs templates) and the templating engine
was loudly complaining about the tag not being closed.
(On the other hand, I could open an issue on vuejs.)
—
Reply to this email directly, view it on GitHub
<#58 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAC7AKEW2HF7MJ4N4KF73QDUZEVQ3ANCNFSM5NLBNXZA>
.
You are receiving this because you commented.Message ID:
***@***.***>
fstamour commented
Ah, thanks!