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?
Remember to click “Mark as Answer” on the post, if it helps you. Because It helps others to find the solution.
Member
130 Points
181 Posts
Get html that is not encoded?
Apr 15, 2010 09:37 AM|Jedi302|LINK
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?
Member
430 Points
93 Posts
Re: Get html that is not encoded?
Apr 16, 2010 02:27 AM|Joshi Amit|LINK
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.
http://amitjoshi1980.blogspot.com/
- Helping others helps me to learn more.