Opened 8 years ago

Closed 8 years ago

#1720 closed New Feature (wontfix)

Problems with HTML encoding of some text

Reported by: benze Owned by:
Priority: Normal Milestone:
Component: Core : Output Data Version: FCKeditor 2.5 Beta
Keywords: Cc:


I'm using FCK editor on a textarea which contains some expressions that must not be HTML encoded (ie: do not want to replace & with &amp; or < with &lt;, etc). These expressions are always surrounded with delimiters. For example, I am looking for any data within ${ } not to be HTML encoded.

I have looked through the code and see with FCKEditor does the encoding, but there are no configuration parameters to allow me to control what data is/isn't encoded.

I think an additional configuration item such as FCKConfig.SkipHTMLEncodingRE should be added to allow a user to specify RegularExpressions of text NOT to be HTML encoded.

I will patch FCK and add in necessary configuration parameters to control this, but am not sure if/how to submit patches and/or if there is a better way to accomplish this.

Any guidance would be appreciated. I've read through the FAQ already, but want to make sure that there isn't a better way to do this that has already been thought of.



Change History (1)

comment:1 Changed 8 years ago by fredck

  • Resolution set to wontfix
  • Status changed from new to closed

Eric, this one sounds like a feature specific to your case, exclusively. I don't see this feature as part of the editor core. You should instead create a plugin for it, or even simply make a replacement in the server side, processing the text to your needs.

Note: See TracTickets for help on using tickets.
© 2003 – 2015 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy