[wp-trac] [WordPress Trac] #12690: Square brackets breaking links that contain square brackets
WordPress Trac
noreply at wordpress.org
Sun Jun 8 04:13:45 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 has-patch | Focuses:
-----------------------------------+-----------------------------
Comment (by miqrogroove):
Replying to [comment:27 mdawaffe]:
> Replying to [comment:16 mdawaffe]:
> > It seems like we should not texturize things inside escaped
shortcodes.
>
> I just realized that my argument wasn't very good. People talking about
shortcodes will probably also enclose examples in `<code>` blocks, which
we already don't texturize. In conclusion: I'm not sure what the expected
behavior is.
Works for me because:
* The old texturize treated escaped and un-escaped shortcodes the same.
* shortcodes.php parses escaped and un-escaped shortcodes the same way.
* miqro-12690.2.patch would have altered the shortcode input by
texturizing escaped codes.
* Now we can make sure escaped codes get treated just like HTML comments.
Patch updated again. The previous was a bit rushed.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/12690#comment:28>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list