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

Editor changes valid html

1 Answer 66 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Clive Hoggar
Top achievements
Rank 1
Clive Hoggar asked on 08 Feb 2012, 08:14 PM
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>


1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 10 Feb 2012, 04:37 PM
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 >>
Tags
Editor
Asked by
Clive Hoggar
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or