Skip to content

Conversation

@billythekid
Copy link
Contributor

…-closing tags

Added an, empty by default, 'noSlash' array property with getters and setters, like the selfClosing array has, on the main Dom class.
When a tag is in this array the trailing slash is not added to the tag in the Dom\Tag class, for HTML5-style tags rather than the xhtml version, which remains the default.
Added a single, simple test for this based on a previous test.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.7%) to 93.96% when pulling 770b48f on billythekid:master into 9663472 on paquettg:master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.7%) to 93.96% when pulling 770b48f on billythekid:master into 9663472 on paquettg:master.

@paquettg paquettg changed the base branch from master to dev July 23, 2017 23:27
@paquettg paquettg merged commit 213b0ae 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