[wp-trac] [WordPress Trac] #28483: Logic Error in Texturize Element Stack

WordPress Trac noreply at wordpress.org
Sat Jun 7 18:58:43 UTC 2014


#28483: Logic Error in Texturize Element Stack
--------------------------+-----------------------------
 Reporter:  miqrogroove   |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Formatting    |    Version:  3.8
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Test case:

 {{{wptexturize( '<span>hello</code>---</span>' );}}}

 Expected result:

 {{{<span>hello</code>—</span>}}}

 Actual result:

 {{{<span>hello</code>---</span>}}}

 This is being caused by a rather obvious logic flaw in the texturize
 stack, and inadequate unit testing.

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


More information about the wp-trac mailing list