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

WordPress Trac noreply at wordpress.org
Mon Mar 31 01:43:15 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:
-------------------------------------+-----------------------------
Changes (by miqrogroove):

 * keywords:  has-patch needs-testing dev-feedback => wptexturize needs-
               patch


Comment:

 Some good ideas here, but these patches don't work as advertised.

 {{{\[.*+\]}}} simply breaks shortcode detection.

 {{{\[.+\]}}} prevents matches on {{{[]}}} but still matches {{{[ ... < ...
 []}}} and {{{[] ... > ... ]}}}

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


More information about the wp-trac mailing list