it seems i can set - CKEDITOR.config.entities_additional = '#39,#8211,#171,#187';
to not replace certain chars. i might try to hook into this instead and replace everything not [a-z0-9] for eg. is it possible to hook into the JS for this?
I'm new to CKEditor and am also having issues with CKEditor also automatically escaping characters...
I'm also having issues with it automatically escaping characters.
I have a plug-in that is adding a custom IMG tag. It sends the user to a page that needs some variables to serve the image. For example /foo.cfm?Action=View&ID=17
Well, everytime, it changes it to: /foo.cfm?Action=View&ID=17
This makes my page think that the ID variable is actually amp;ID and it breaks my page. I've tried editing the source and removing the "amp;" portion, but as soon as I try to save or switch back out of source view, it changes it right back.
Re: HTML codes / entities / charaters
Re: HTML codes / entities / charaters
http://www.w3.org/TR/html4/sgml/entities.html#h-24.2.1
Re: HTML codes / entities / charaters
CKEDITOR.config.entities_additional = '#39,#8211,#171,#187';
to not replace certain chars.
i might try to hook into this instead and replace everything not [a-z0-9] for eg.
is it possible to hook into the JS for this?
Re: HTML codes / entities / charaters
I'm also having issues with it automatically escaping characters.
I have a plug-in that is adding a custom IMG tag. It sends the user to a page that needs some variables to serve the image. For example /foo.cfm?Action=View&ID=17
Well, everytime, it changes it to: /foo.cfm?Action=View&ID=17
This makes my page think that the ID variable is actually amp;ID and it breaks my page. I've tried editing the source and removing the "amp;" portion, but as soon as I try to save or switch back out of source view, it changes it right back.
Any ideas?
Re: HTML codes / entities / charaters
all