How can I stop resharper from complaining about html5 template html tags?

html5 standard version

<!--[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> is an unsurpassed closing tag

I thought it was a visual studio, I inserted a new layout and noticed that she was not complaining. When I turned on Resharper, the error reappeared.

How can I turn off this distracting false positive error?

+6
source share
1 answer

It seems like resharper solution up to> = 8.0.6.335 might be the only way to deal with the problem.

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

+2
source

Source: https://habr.com/ru/post/945074/


All Articles