render.rs
render.rs copied to clipboard
Only output self-closing tags for void elements
From my reading of the spec, self-closing tags are only allowed for void elements of foreign elements. Not sure if there's any case where it's actually required, so for now I've changed it to only use self-closing tags for known void elements.
Should resolve #42