[wp-trac] [WordPress Trac] #28564: Shortcode Attributes with HTML Tags no longer working
WordPress Trac
noreply at wordpress.org
Tue Jun 24 22:59:06 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:15 kitchin]:
> `<div class="cycle-slideshow" data-cycle-slides="> div">`
wptexturize() has never supported this syntax. You're welcome to open a
new ticket for that issue, but it has nothing to do with the bug reported
above.
> 2. Create a post with this content: `[expand title="div >
blockquote"][/expand]`.
I'm going to read between the lines here and assume something like this
will happen:
{{{[expand title='<div class="cycle-slideshow" data-cycle-slides=">
div">'][/expand]}}}
We could find a way to allow this by ignoring extra > chars inside of
shortcode attributes, which are not texturized anyway. I don't think it's
a good idea at all, but it could be done.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28564#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list