This is a migrated thread and some comments may be shown as answers.

HTML tag options

1 Answer 48 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Andrew Deren
Top achievements
Rank 1
Andrew Deren asked on 18 Nov 2009, 05:52 PM
Is there a way to tag certain tags not to show errors?
My code base has a lot of <br> and <input...> tags that are now closed (ie. <br />)
Is there a way to ignore all errors for just those 2 tags when not closed?

1 Answer, 1 is accepted

Sort by
0
Hans Kratz
Telerik team
answered on 18 Nov 2009, 06:07 PM
Hi Andrew,

Those warnings should only be displayed if you have an XHTML DOCTYPE declared for your files. Is that the case in your environment?

Right now there are multiple possibilities to get rid of the warnings:
  1. Remove/change the DOCTYPE
  2. Disable HTML code analysis in the JustCode options
  3. Ignore them using the quick fix (Alt-Enter) or using JustCode > Ignore All Warnings
  4. Fix them to become XHTML compliant. ;-)

We will consider turning off this particular warning for configurable set of HTML tags in a future version.

All the best,
Hans
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
General Discussions
Asked by
Andrew Deren
Top achievements
Rank 1
Answers by
Hans Kratz
Telerik team
Share this question
or