Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on opening tag flagging error on closing tag saying opening tag is missing #1460

Open
M-J-Robbins opened this issue Aug 23, 2024 · 0 comments
Labels
bug Functionality that does not work as intended/expected keep-unstale The issue will not be marked as stale by the stale-bot

Comments

@M-J-Robbins
Copy link

M-J-Robbins commented Aug 23, 2024

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.

<div id="abc"class="def">
    test
</div>

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.
image

Desktop (please complete the following information):

  • OS: MacOS 14.5
  • Browser: Chrome
  • Version: 127.

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.

@coliff coliff added bug Functionality that does not work as intended/expected keep-unstale The issue will not be marked as stale by the stale-bot labels Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Functionality that does not work as intended/expected keep-unstale The issue will not be marked as stale by the stale-bot
Projects
None yet
Development

No branches or pull requests

2 participants