I'm using cute editor for editing user control files (*.ascx). When I get the Xhtml of the editor the directive tags (<% @ ...%>) are surrounded by CDATA tags. No problem with that (the file is parsed again and these are removed). The problem occurs when I have 2 or more directives. The first is surrounded ok with CDATA tags, but the second open and close tags ( <,>) are replaced with the <
and >. These problem did not occurs when there is no whitespace between the first directive and the second (...%><%....) and the second tag is correctly surrounded by CDATA tags.
http://blogs.vizibility.net/sdobrev