some weird behaviour regarding xHTML

1 Answer 113 Views
Editor
hepek
Top achievements
Rank 1
Iron
hepek asked on 02 Aug 2021, 08:22 PM

I am working on xHTML documents in rad editor. I set as follows:
ArcRadEditor.ContentFilters = EditorFilters.ConvertToXhtml;

when I open the xHTML document in editor and save it, some characters in there change and editor generates an invalid xHTML.
editor converts these:
“ ->
” ->
’ -> '

all 3 converted characters are invalid xHTML

attached are two very small files: Original.htm and Edited.htm, so you can see how the save process tranforms the file.
please note that my original file is VALID xHTML, but after I save it in editor it becomes invalid xHTML.

how do I save xHTML in editor without corrupting it?
thank you

 

1 Answer, 1 is accepted

Sort by
0
hepek
Top achievements
Rank 1
Iron
answered on 03 Aug 2021, 05:34 PM | edited on 03 Aug 2021, 08:21 PM
*I am the latest version of telerik that I downloaded today.
Vessy
Telerik team
commented on 05 Aug 2021, 03:24 PM

Hello, hepek, I will advise that we continue our discussion in your other thread on this matter, so we can keep the information at one place.
Tags
Editor
Asked by
hepek
Top achievements
Rank 1
Iron
Answers by
hepek
Top achievements
Rank 1
Iron
Share this question
or