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

Incorrect attr-no-duplication warnings? #72

Closed
seanw opened this issue Sep 25, 2015 · 0 comments
Closed

Incorrect attr-no-duplication warnings? #72

seanw opened this issue Sep 25, 2015 · 0 comments

Comments

@seanw
Copy link

seanw commented Sep 25, 2015

Test cases that can be ran on http://htmlhint.com/

<!-- I would expect this to produce no warnings but all lines produce "The name of attribute [ rel ] been duplication." warning -->
<link rel=icon><link rel=icon>
<link rel=icon><link rel='icon'>
<link rel=icon></link><link rel=icon></link>
<link rel=icon/><link rel='icon'/>

<!-- This produces no warnings as I would expect. The extra space and quotes seem to make a difference -->
<link rel=icon> <link rel=icon>
<link rel='icon'><link rel=icon>

The first two lines of code are typical from minifiers so this warning is problematic for me as the rule is firing a lot. Thanks for the great library by the way!

yaniswang added a commit that referenced this issue Oct 6, 2015
<link rel=icon><link rel=icon>
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

No branches or pull requests

2 participants