Skip to content

Conversation

Cojad
Copy link
Contributor

@Cojad Cojad commented Oct 7, 2016

html5 spec has a list of void elements (aka self closing tags)
https://www.w3.org/TR/html5/syntax.html#void-elements

@coveralls
Copy link

Coverage Status

Coverage remained the same at 94.622% when pulling e1a61e4 on Cojad:master into 9663472 on paquettg:master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage remained the same at 94.622% when pulling e1a61e4 on Cojad:master into 9663472 on paquettg:master.

@Cojad
Copy link
Contributor Author

Cojad commented Oct 7, 2016

There maybe still some other self-closing tag in foreign elements. But this should avoid most common self closing tag. But I think it's better close the tag if tags actually does self closing with slash at the end. I was having trouble while extracting audio tag. I know this might not be standard way to use audio tag. But I think when an tag indicated it is self closed, we should close it.
ex: <audio src="test.way" />

@paquettg paquettg changed the base branch from master to dev July 23, 2017 23:16
@paquettg paquettg merged commit 063ca52 into paquettg:dev Jul 23, 2017
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

Successfully merging this pull request may close these issues.

3 participants