[wp-trac] [WordPress Trac] #28302: All text disappears from view when one line ends with a-grave, then saving a draft from visual editor

WordPress Trac noreply at wordpress.org
Tue May 20 21:26:19 UTC 2014


#28302: All text disappears from view when one line ends with a-grave, then saving
a draft from visual editor
--------------------------+------------------------------
 Reporter:  niente0       |       Owner:
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  TinyMCE       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  dev-feedback  |     Focuses:
--------------------------+------------------------------

Comment (by azaozz):

 Looking further, pretty sure this is the same PHP/PCRE problem as
 described in #22692. The hex for that letter is `0xC3 0xA0`, so `\s` would
 match/strip `0xA0` in some cases. That only happens when it is the last
 letter on the row and there is more content after, most likely in
 wpautop().

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


More information about the wp-trac mailing list