I am trying to encode my output, I have tried the entities property of the config, with no luck. I need to encode everything including the <p> tags that are generated.
I am using ASP.NET and am getting a potentially dangerous request. I do not want to turn of that validation, so encoding before submission is necessary.
Any help on this is appreciated.
I am using ASP.NET and am getting a potentially dangerous request. I do not want to turn of that validation, so encoding before submission is necessary.
Any help on this is appreciated.
Re: HTML encode
I was able to find the property that causes the editor the encode its contents before form submission thereby bypassing the asp.net error:
config.htmlEncodeOutput = true;
...the only problem is that when the page and editor reload, the content is Html Encoded and therefore we get < and > garbage in the non-source portion of the editor. When I HtmlDecode the contents before database insertion/update and before prefilling the textarea/editor I get a slightly better result in that the actual greater than and less than characters show up in the non-source portion of the editor - It's better than the < garbage but certainly not what we want.