Editor changes valid html

2 posts, 0 answers
  1. Clive Hoggar
    Clive Hoggar avatar
    349 posts
    Member since:
    Nov 2008

    Posted 08 Feb 2012 Link to this post

    HI 
    I am using the editor in a new website, reusing pages that already work on another of my sites.
    However, despite no changes to the page code, the editor will not let me save valid html.
    It converts the self closing image tag to separate tags and the line break element into multiple
    separate tags.
    How can I overcome this, which is different to the behaviour on a site I have just released.
    Q3 2010 controls, asp.net 4.0
    Thanks
    Clive


    I want to save this:

    <
    h4>Heading here</h4>
    <img alt="" src="~/images/widgets/scotland1-200x130.jpg" />
    Learn more about<br />
    <a href="~/rally-programme/default.aspx">forthcoming rallies...</a>

    but I get this:

    <h4>Heading here</h4
    <img alt="" src="~/images/widgets/scotland1-200x130.jpg"></img>
    Learn more about<br></br><br></br><a href="~/rally-programme/default.aspx">forthcoming rallies...</a>


  2. Rumen
    Admin
    Rumen avatar
    14351 posts

    Posted 10 Feb 2012 Link to this post

    Hi,

    If you experience this problem in IE9, you should know that Q3 2010 does not support IE9.

    You have two options:
    - the recommended one is to upgrade to Q3 2011 SP1
    - or to render the page in IE8 mode using the following meta tag: <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" />


    Greetings,
    Rumen
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Back to Top