Skip to content

End tag for <col> violates the specs #140

@pbwolf

Description

@pbwolf
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions