[wp-trac] [WordPress Trac] #23778: How do you keep WordPress from removing the non-breaking space?

WordPress Trac noreply at wordpress.org
Sat Sep 19 00:13:22 UTC 2015


#23778: How do you keep WordPress from removing the non-breaking space?
--------------------------+------------------------
 Reporter:  spherman      |       Owner:  azaozz
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  TinyMCE       |     Version:  2.0
 Severity:  normal        |  Resolution:  duplicate
 Keywords:                |     Focuses:
--------------------------+------------------------
Changes (by azaozz):

 * keywords:  has-patch dev-feedback 3.8-early =>
 * status:  assigned => closed
 * resolution:   => duplicate
 * milestone:  4.4 =>


Comment:

 To clarify: the non-breaking spaces are not removed by TinyMCE. They are
 converted to the U+00A0 (UTF-8) character. This is not the default
 behavior but has been set in WordPress since version 2.

 It is possible to stop converting the non-breaking spaces, but that will
 need changes in several other functions, mainly in wpautop and
 wptexturize, see #26842.

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

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


More information about the wp-trac mailing list