Skip to content
This repository has been archived by the owner on Feb 1, 2022. It is now read-only.

W002 check should be case insensitive #259

Closed
hostep opened this issue Mar 15, 2015 · 5 comments · Fixed by #260
Closed

W002 check should be case insensitive #259

hostep opened this issue Mar 15, 2015 · 5 comments · Fixed by #260
Labels

Comments

@hostep
Copy link

hostep commented Mar 15, 2015

Over at the html5boilerplate project, they recently changed the recommended x-ua-compatible meta tag to be lowercase: h5bp/html5-boilerplate#1656

@sb4m
Copy link

sb4m commented Jul 3, 2015

Hi,
Just spend some time with an upper case missing

$('head>meta[http-equiv="X-UA-Compatible"]').attr('content').match(/IE=edge/i) != null

And will handle the Chrome version (chrome=1) even it's deprecated

@cvrebert
Copy link
Collaborator

cvrebert commented Jul 3, 2015

And will handle the Chrome version (chrome=1) even it's deprecated

We want to warn about it. See #152.

@sb4m
Copy link

sb4m commented Jul 3, 2015

agree with you but this tricks make it's right with no case sensitive

@cvrebert
Copy link
Collaborator

cvrebert commented Jul 5, 2015

Meh. Any capitalization besides IE=edge or ie=edge is bizarre/insane.

@indrakaw
Copy link

Too bad, emmet will generate <meta http-equiv="X-UA-Compatible" content="ie=edge"> when i typed !<tab>. And I still having error and have to change ie=edge into IE=edge.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants