Error on opening tag flagging error on closing tag saying opening tag is missing #1460
Labels
bug
Functionality that does not work as intended/expected
keep-unstale
The issue will not be marked as stale by the stale-bot
Describe the bug
When there is no space between 2 attributes on an element then the closing is reported as
Tag must be paired, no start tag: [ </div> ]
To Reproduce
Steps to reproduce the behavior:
Enter this code into the playground https://htmlhint-playground.netlify.app/
Making sure the
tag-pair
is checked.Expected behavior
I would not expect to see the error on the closing tag.
I would expect to see an error related to there being no space between the attributes.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
I realise this is a duplicate of #18 but I think they maybe got closed due to lack of information.
This is quite an edge case but when looking at a large file it can be hard to work out why there is an issue showing.
The text was updated successfully, but these errors were encountered: