[wp-trac] [WordPress Trac] #34520: nbsp converts to hidden no break space when swapping text mode visual.

WordPress Trac noreply at wordpress.org
Sat Oct 31 11:07:55 UTC 2015


#34520: nbsp converts to hidden no break space when swapping text mode visual.
--------------------------+-----------------------------
 Reporter:  BackuPs       |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Editor        |    Version:  4.3.1
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 I found a weird behaviour regarding no break spaces.

 If you are in text mode and add


 {{{
 <p> </p>
 }}}

 and swap to visual mode and back to text mode. the nbsp; stays visible as
 code

 but if you add

 {{{
 Hello world
 }}}

 swap to visual mode and back the nbsp is converted to a hidden nbsp space.
 Only visual in the html editor in f.e. firebug in the front of the
 website.

 You can not see those no break tags in the editor any more, but they are
 still there causing effects on how the text looks in the front of the
 website.

 Those nbsp codes should not convert to hidden nbsp codes in the text
 editor. People are not aware of them if they cant see them.

 [[Image(http://i.imgur.com/asyV60s.png)]]

 please fix.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34520>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list