[wp-trac] [WordPress Trac] #31297: Convert non-breaking spaces to HTML entities on editor switch

WordPress Trac noreply at wordpress.org
Sun Sep 20 19:12:20 UTC 2015


#31297: Convert non-breaking spaces to HTML entities on editor switch
--------------------------+-----------------------------
 Reporter:  Kau-Boy       |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  TinyMCE       |     Version:
 Severity:  normal        |  Resolution:  duplicate
 Keywords:  has-patch     |     Focuses:  administration
--------------------------+-----------------------------
Changes (by azaozz):

 * status:  new => closed
 * resolution:   => duplicate
 * milestone:  Awaiting Review =>


Comment:

 This ticket seems close enough to #26842, closing as a duplicate.

 Looking at the patch: better way of doing this is to set TinyMCE to stop
 converting ` ` to U+00A0, see
 https://core.trac.wordpress.org/ticket/26842#comment:1. However that is
 not 100% backwards compatible and requires changes in many places to
 support it (pretty much all PHP or JS regex that filters post_content and
 uses `\s`).

--
Ticket URL: <https://core.trac.wordpress.org/ticket/31297#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list