locked
Get html that is not encoded? RRS feed

  • Question

  • User309982698 posted

    hi I'm working with a javascript / jquery dialog that is going to work as a preview window. Everything is great except that the editor I use (fckeditor) encode all the html that is input in it. like a simple <div> becomes encoded.

    How can I avoid this? any ideas?

    Thursday, April 15, 2010 9:37 AM

Answers

  • User-678237837 posted

    You can live with that encoded HTML, just parse the text through this function HttpUtility.HtmlDecode(text)

    This will return the HTML which is not Encoded.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, April 16, 2010 2:27 AM