Editor rewrites html from templates

Last post 06-03-2010, 9:49 PM by Kenneth. 1 replies.
Sort Posts: Previous Next
  •  06-03-2010, 5:33 AM 61531

    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
  •  06-03-2010, 9:49 PM 61547 in reply to 61531

    Re: Editor rewrites html from templates

    Hi pasklaar,
     
    Close tag function is the browser feature. For now CuteEditor can not change it.
     
    Regards,
     
    ken
View as RSS news feed in XML