HTML tag options

Thread is closed for posting
2 posts, 0 answers
  1. Andrew Deren
    Andrew Deren avatar
    16 posts
    Member since:
    Feb 2006

    Posted 18 Nov 2009 Link to this post

    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?
  2. Hans Kratz
    Hans Kratz avatar
    102 posts

    Posted 18 Nov 2009 Link to this post

    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,
    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.
Back to Top