[wp-trac] [WordPress Trac] #36699: Caption (maybe shortcodes in general) break when "lower than" character is inserted manually
WordPress Trac
noreply at wordpress.org
Thu Apr 28 10:23:21 UTC 2016
#36699: Caption (maybe shortcodes in general) break when "lower than" character is
inserted manually
--------------------------+-----------------------------
Reporter: zodiac1978 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Shortcodes | Version: trunk
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
The caption shortcode (maybe shortcodes with start and end tags in
general) break when "lower than" character is inserted manually:
{{{
[caption]<a href=""><img class="" src="" alt="Caption with special
character lower than < breaks WP" /></a> Caption with special character
lower than < breaks WP (inserted manually)[/caption]
}}}
Using the UI it is escaped correctly with {{{<}}}
You can see a testcase here:
http://testserver.torstenlandsiedel.de/2016/04/testcase-caption/
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36699>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list