[wp-trac] [WordPress Trac] #27350: Invalid HTML Output

WordPress Trac noreply at wordpress.org
Thu Aug 7 02:06:59 UTC 2014


#27350: Invalid HTML Output
--------------------------------------+------------------------------
 Reporter:  miqrogroove               |       Owner:
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  Formatting                |     Version:  3.8
 Severity:  normal                    |  Resolution:
 Keywords:  wpautop needs-unit-tests  |     Focuses:
--------------------------------------+------------------------------

Comment (by miqrogroove):

 I suggest checking the performance impact of each part of the patch.  For
 example, the \b solution may not be optimal, but I'd bet the slowdown
 you're seeing is related to the multiple PCRE function calls added to the
 inner loop.

 Also note the return value of preg_match() is never > 1.

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


More information about the wp-trac mailing list