ruricolist/spinneret

li tag not closed correctly

fstamour opened this issue · 4 comments

the simple code

(spinneret:with-html-string
  (:li "stuff"))

returns

"<li>stuff"

when it should return

"<li>stuff</li>"

That's deliberate; HTML no longer requires li tags to be closed.

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.)

Ah, thanks!