Skip to content

fix matching boolean attribute with empty value#5

Merged
peternewnham merged 1 commit into
peternewnham:masterfrom
mjj2000:fix-boolean-attribute
May 7, 2016
Merged

fix matching boolean attribute with empty value#5
peternewnham merged 1 commit into
peternewnham:masterfrom
mjj2000:fix-boolean-attribute

Conversation

@mjj2000

@mjj2000 mjj2000 commented May 7, 2016

Copy link
Copy Markdown
Contributor

If you use any boolean attribute contains upper-case char with empty value, it doesn't work correctly.

For example ...

Source HTML

<video autoPlay>...</video>

Result

<video>...</video>

Expected Result

<video autoPlay="autoPlay">...</video>

@coveralls

coveralls commented May 7, 2016

Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 100.0% when pulling 1edc2d0 on mjj2000:fix-boolean-attribute into 86d876c on wrakky:master.

@peternewnham peternewnham merged commit badcc37 into peternewnham:master May 7, 2016
@peternewnham

Copy link
Copy Markdown
Owner

Thanks!

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