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