I've installed FCKeditor into Snews 1.7. When ever I write an article it converts double spaces into a space and one and the symbol '&' into is turned into HTML for the character, &.
How do I turn this rewriting off or correct this for these characters or other characters that may be affected?
Thank you.
Kraig
How do I turn this rewriting off or correct this for these characters or other characters that may be affected?
Thank you.
Kraig
Re: FCKeditor in Snews 1.7 converting spaces to &nbsp and &a
Re: FCKeditor in Snews 1.7 converting spaces to &nbsp and &a
For example I would see Bob & Tom in the FCKeditor, but on the site I will see Bob & Tom on the site.
Another example is that I have Marketing & Communications written in the text. On the site I see Marketing & Communications, but in the source code I see Marketing & Communications
Re: FCKeditor in Snews 1.7 converting spaces to &nbsp and &a
Is there a way to prevent the rewriting of these symbols to the HTML entities?
Re: FCKeditor in Snews 1.7 converting spaces to &nbsp and &a
As I said, disable JavaScript in your browser, which effectively disables FCK editor and just gives you the underlying textarea. Type "Marketing & Communications" and submit the form. Make sure to type it exactly this way - this is what FCK editor generates, which is correct HTML. I bet you will see the same double-encoding.
Re: FCKeditor in Snews 1.7 converting spaces to &nbsp and &a
With JavaScript disabled the FCKeditor wysiwyg text entry area didn't display. I then uploaded my original snews.php file and saved the same text articles and there was no problems. Something is happening with FCK.
Re: FCKeditor in Snews 1.7 converting spaces to &nbsp and &a
Ok, then the best course of action is to use a debugging proxy (e.g. www.charlesproxy.com). This way you will see what actually was submitted. If you see double-encoded entries, then it must be some plug-in you are using.
Re: FCKeditor in Snews 1.7 converting spaces to &nbsp and &a
.
The answer is here in the last post: http://snewscms.com/forum/index.php?topic=7814.0#msg56592
Re: FCKeditor in Snews 1.7 converting spaces to &nbsp and &a