FCKeditor noob here. I set up FCKeditor 2.5.1 using FCKeditor.NET 2.5.
I am trying to get one of the FCKeditor.NET included samples to work. I type in "<div>hi</div>" into the editor and then click the "Source" button on the toolbar. The text gets converted to "<p><div>hi</div></p>" (which is correct). I then press "Submit" and the text that gets posted back to the client is "<p><div>hi</div></p>", which is incorrect. Has anyone else had a similar problem?
Thank you
I am trying to get one of the FCKeditor.NET included samples to work. I type in "<div>hi</div>" into the editor and then click the "Source" button on the toolbar. The text gets converted to "<p><div>hi</div></p>" (which is correct). I then press "Submit" and the text that gets posted back to the client is "<p><div>hi</div></p>", which is incorrect. Has anyone else had a similar problem?
Thank you

Re: FCKeditor .NET posts back incorrect encoding
string postedValue = postCollection[postDataKey] ; // Revert the HtmlEncodeOutput changes. if ( this.Config["HtmlEncodeOutput"] != "false" ) { postedValue = postedValue.Replace( "&", "&" ) ; //TheGrinchWSC comment, this line is in the wrong place postedValue = postedValue.Replace( "<", "<" ) ; postedValue = postedValue.Replace( ">", ">" ) ; }string postedValue = postCollection[postDataKey] ; // Revert the HtmlEncodeOutput changes. if ( this.Config["HtmlEncodeOutput"] != "false" ) { postedValue = postedValue.Replace( "<", "<" ) ; postedValue = postedValue.Replace( ">", ">" ) ; postedValue = postedValue.Replace( "&", "&" ) ; //TheGrinchWSC comment, this line is now in the right place }string postedValue = postCollection[postDataKey] ; // Revert the HtmlEncodeOutput changes. if ( this.Config["HtmlEncodeOutput"] != "false" ) { postedValue = System.Web.HttpUtility.HtmlDecode(postedValue); }