problems storing html from/to db with cute editor

  •  07-01-2005, 7:25 PM

    problems storing html from/to db with cute editor

    I'm trying to store HTML text to/from a backing store with Cute Editor as my online editor. I'm having this issue where the data in the backing store is OK, and the data that gets stored in the editor seems Ok, but the output on screen is messed up. I've run into this before but have no idea what I did to resolve it.
     
    Here's the breakdown:

    Text in backing store:
    "<p>Tesxt</p><p></p><p><hr /><hr /><hr /><p></p></p>"

    HTML decoded text assigned to editor (editor.Text = Server.HtmlDecode(newsletterData[0]);) :
    "<p>Tesxt</p><p></p><p><hr /><hr /><hr /><p></p></p>"

    As it appears in the editor on screen:
    #1p#2T#9#7xt#1/p#2#1p#2#1/p#2#1p#2#1hr /#2#1hr /#2#1hr /#2#1p#2#1/p#2#1/p#2
     
    Clearly something's getting boggled up here. I'm using v 4 0 0 7 of the editor.
View Complete Thread