Editor rewrites html from templates

  •  06-03-2010, 5:33 AM

    Editor rewrites html from templates

    I have a problem with loading templates from text files into the cuteeditor. When I use custom tags in a template that contains html in some cases my custom tags are rewritten.
    Example:
    When I have the custom tag <!#pw-nlopen#> in this template as the last element it gets reduced to > (just the hook). In an image tag, used as a parameter, I have different results. When there is an alt-attribute cuteeditor adds a closing slash to my custom tag (like this: <!#pw-nlid#> becomes <!#pw-nlid#/>. When there's no alt attribute it's worse.  <img src="somedomain.com/Open.aspx?nlid=<!#pw-nlid#>&ss=<!#pw-guid#>"> becomes something like this: <img src="somedomain.com/Open.aspx?nlid=<!#pw-nlid#" alt=" "/> >&ss=<!#pw-guid#>
    I guess cuteeditor is trying to make the document xhtml compliant, but I just want it to leave the content from the template exactly as it is.
    Is there a way to do this? I have looked at the documentation but could not find anything resembling this.
     
    Thanks a lot for your help.
     
    Peter
View Complete Thread