[wp-trac] [WordPress Trac] #27733: wpautop(): \s in regex destroys some UTF-8 characters

WordPress Trac noreply at wordpress.org
Tue Jun 10 17:28:31 UTC 2014


#27733: wpautop(): \s in regex destroys some UTF-8 characters
-------------------------------------------------+-------------------------
 Reporter:  tenpura                              |       Owner:
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Future
Component:  Formatting                           |  Release
 Severity:  normal                               |     Version:  0.71
 Keywords:  4.0-early needs-patch needs-unit-    |  Resolution:
  tests                                          |     Focuses:
-------------------------------------------------+-------------------------
Changes (by miqrogroove):

 * keywords:  has-patch 4.0-early => 4.0-early needs-patch needs-unit-tests


Comment:

 As we are having a good chat about ticket management in IRC, I'm taking
 the time to note that the existing patch here needs to consider
 implications from related tickets and changes.  One of the main concerns
 with modifying wpautop() is that we have to ensure each kind of space is
 parsed as expected.  In the post Editor, spaces sometimes serve as
 invisible placeholders, and as noted in #26842, this function also has a
 JS counterpart to consider.

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


More information about the wp-trac mailing list