[wp-trac] [WordPress Trac] #28564: Shortcode Attributes with HTML Tags no longer working
WordPress Trac
noreply at wordpress.org
Wed Jun 25 03:56:21 UTC 2014
#28564: Shortcode Attributes with HTML Tags no longer working
------------------------------------------+-----------------------------
Reporter: baden03 | Owner: wonderboymusic
Type: defect (bug) | Status: reopened
Priority: high | Milestone: 4.0
Component: Formatting | Version: trunk
Severity: major | Resolution:
Keywords: has-patch commit wptexturize | Focuses:
------------------------------------------+-----------------------------
Comment (by miqrogroove):
Replying to [comment:20 kitchin]:
> I'm just reporting the change in behavior, I don't know how important it
is. "Well-formed HTML" is tricky and I'm not sure can really be handled by
lookaheads in regexes, as opposed to tokenizing and switch statements, but
I'm probably over my head here.
So the change in behavior is that HTML that was never valid in wptexturize
is now also invalid inside of shortcodes? Can we write this off as
undefined behavior? Or is someone actually using shortcodes to avoid
wptexturize from handling their invalid HTML?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28564#comment:21>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list