#2001: Numeric entities are not preserved
---------------------------------+------------------------------------------
  Reporter:  richard             |       Owner:                    
      Type:  Bug                 |      Status:  closed            
  Priority:  Normal              |   Milestone:                    
 Component:  Core : Output Data  |     Version:  FCKeditor 2.6 Beta
Resolution:  invalid             |    Keywords:  Confirmed         
---------------------------------+------------------------------------------
Changes (by fredck):

  * status:  new => closed
  * resolution:  => invalid
  * summary:  Insert Special Character saves question mark character when
              using entity number instead of entity name for
              two special characters => Numeric entities are
              not preserved

Comment:

 This problem is not related to the Insert Special Character dialog. It is
 enough to paste {{{<p>&#8219; or &#9658;</p>}}} in the source view.
 Switching back and forth to the WYSIWYG view, you will see that the
 entities are replaced with their relative chars.

 This is a browser limitation. As soon as you feed the browser with
 entities, those are automatically translated to the specific character and
 the entities are lost. All we can do is replacing those chars with
 entities again, when outputting the HTML.

 For numeric entities, this thing can't be done automatically because every
 single character can be transformed in an entity in this way.

 But, we have a dedicated setting for that:
 
[http://docs.fckeditor.net/FCKeditor_2.x/Developers_Guide/Configuration/Configuration_Options/AdditionalNumericEntities
 AdditionalNumericEntities]. So, just set the following in the
 configuration file and things will work for you:

 {{{
 FCKConfig.AdditionalNumericEntities = '‛|►' ;
 }}}

 Note that the raw chars are being used there.

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/2001#comment:4>
FCKeditor <http://www.fckeditor.net>
The text editor for Internet
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac

Reply via email to