rayd / html-parse-stringify2

Parses well-formed HTML (meaning all tags closed) into an AST and back. quickly.
21 stars 11 forks source link

Fails for boolean attribute if it is the last attribute on an element #15

Open blackmambahk opened 7 years ago

blackmambahk commented 7 years ago
<input autofill type="text" data-type="text" placeholder="Full Name" name="FullName" data-label="Full Name"  required>

The 'autofill' attribute is correctly parsed but the 'required' attribute is missing.

MurakamiKennzo commented 6 years ago

I will fixed it.