Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

End tag for <col> violates the specs #140

Open
pbwolf opened this issue Nov 4, 2016 · 0 comments
Open

End tag for <col> violates the specs #140

pbwolf opened this issue Nov 4, 2016 · 0 comments

Comments

@pbwolf
Copy link

pbwolf commented Nov 4, 2016

user> (require '[net.cgrand.enlive-html :as html])
nil
user> (html/emit* {:tag :col})
("<" "col" "></" "col" ">")

Expected result: just strings amounting to ""; no end tag.

In HTML 4, col is an "empty" element whose end tag is "forbidden", according to
https://www.w3.org/TR/html401/struct/tables.html#h-11.2.4.2

And in HTML 5 there is "No end tag" according to
https://www.w3.org/TR/html5/tabular-data.html#the-col-element

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant