htmlhint / HTMLHint

⚙️ The static code analysis tool you need for your HTML
https://htmlhint.com
MIT License
3.08k stars 380 forks source link

Unclosed <option> mistakenly raises an error #182

Closed bennypowers closed 4 years ago

bennypowers commented 7 years ago

This is valid HTML even though the tags are not closed:

<datalist id="states">
  <option value="AL">
  <option value="AK">
  <option value="AZ">
  <option value="AR">
</datalist>

HTMLHint throws an error:

Tag must be paired, missing [</option></option></option></option>], start tag match failed [<option value="AR">] on line foo
stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.