Invalid html on various pages
Closed this issue · 0 comments
chreekat commented
E.g. https://www.stackage.org/package/esqueleto/snapshots
There's an <a>
that never gets closed.
I'm not sure if they were always there, or if it was a regression (from changing shakespeare versions?).
The cause seems to be use of shakespeare: tags that start a line are automatically closed, no matter what, while tags that do not start a line are not automatically closed. The code doesn't take this into account.
Alternatively I wonder if behavior changes based on the dev/prod flag that I recall existing in Yesod scaffolding. The live html isn't minified, which seems like a different bug.