CDATA in Style

  •  04-21-2009, 6:31 AM

    CDATA in Style

    Hi,
    when I disable the EnableStripStyleTagsCodeInjection funcion
    "Editor.EnableStripStyleTagsCodeInjection = false"
    I have the folowing problem.
    When I submit the the text, I get some CDATA tage in my style which I don't want.
    Browsers can't hande this cdata tag in a style object
    ------------------
      <style type="text/css"><![CDATA[
    .blaat{
    width:100px;
    }
    ]]></style>
    ------------------
    does anyone have a solution for my problem?
    The example doesn't have a submit button so I can't reproduce here
    http://richtextbox.com/test/EnableStripStyleTagsCodeInjection.aspx 
View Complete Thread