Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how can I stop resharper from complaining about html5 boilerplate html tags?

standard html5 boilerplate layout

<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--> <!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]--> <!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->

then complains that the </html> tag is an unmatched closing tag

I thought it was visual studio, I pasted into a new layout and noticed it wasn't complaining. When I turned on Resharper the error reappeared.

How can I turn stop this distracting false-positive error?

like image 747
Maslow Avatar asked May 15 '13 14:05

Maslow


1 Answers

Looks like a resharper upgrade to >= 8.0.6.335 may be the only way according to the issue.

http://youtrack.jetbrains.com/issue/RSRP-287707

like image 191
Maslow Avatar answered Nov 15 '22 07:11

Maslow