[wp-trac] [WordPress Trac] #12690: Square brackets breaking links that contain square brackets

WordPress Trac noreply at wordpress.org
Mon Mar 31 13:06:37 UTC 2014


#12690: Square brackets breaking links that contain square brackets
-------------------------------------+-----------------------------
 Reporter:  iandstewart              |       Owner:
     Type:  defect (bug)             |      Status:  reviewing
 Priority:  normal                   |   Milestone:  Future Release
Component:  Formatting               |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  wptexturize needs-patch  |     Focuses:
-------------------------------------+-----------------------------

Comment (by miqrogroove):

 Here's a simple strategy:

 {{{/(<.*>|\[[^<]*\])/}}}

 I'll put that in a new patch and then do some benchmarks against a
 conditional strategy.  My intuition tells me the alternation pattern is
 not optimal.

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


More information about the wp-trac mailing list