Hi support team,
I paste the following text into a radeditor instance running in html mode:
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
</head>
<body>
</body>
</html>
Then I change to design mode and back to html mode. After that the html looks like this:
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
</head>
<body>
</body>
</html>
"<html" is modified to "<html" and ">" is modified to ">". Why? By this behaviour I produce a lot of wrongly encoded html documents. What can I do to preserve the html tags for getting a "normal" html document?
When I paste e.g.
<div style="font-family: Arial; font-size: 10pt;"></div>
nothing is modified, i.e. the tags are preserved as expected.
The following filters are disabled:
this.RadEditor1.DisableFilter(EditorFilters.ConvertFontToSpan | EditorFilters.ConvertToXhtml);
I'm using Telerik.Web.UI.dll version 2013.1.417.35 and I observe the descibed behaviour in both Chrome version 26.0.1410.64 m and Firefox version 21.0.
Any help would be very appreciated.
Thanks in advance.
Best regards,
Christian Klug
I paste the following text into a radeditor instance running in html mode:
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
</head>
<body>
</body>
</html>
Then I change to design mode and back to html mode. After that the html looks like this:
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
</head>
<body>
</body>
</html>
"<html" is modified to "<html" and ">" is modified to ">". Why? By this behaviour I produce a lot of wrongly encoded html documents. What can I do to preserve the html tags for getting a "normal" html document?
When I paste e.g.
<div style="font-family: Arial; font-size: 10pt;"></div>
nothing is modified, i.e. the tags are preserved as expected.
The following filters are disabled:
this.RadEditor1.DisableFilter(EditorFilters.ConvertFontToSpan | EditorFilters.ConvertToXhtml);
I'm using Telerik.Web.UI.dll version 2013.1.417.35 and I observe the descibed behaviour in both Chrome version 26.0.1410.64 m and Firefox version 21.0.
Any help would be very appreciated.
Thanks in advance.
Best regards,
Christian Klug