[wp-trac] [WordPress Trac] #10269: wysiwyg bug with shortcodes
WordPress Trac
wp-trac at lists.automattic.com
Wed Sep 12 22:04:42 UTC 2012
#10269: wysiwyg bug with shortcodes
-------------------------------+-----------------------------
Reporter: Denis-de-Bernardy | Owner:
Type: defect (bug) | Status: reopened
Priority: low | Milestone: Future Release
Component: Formatting | Version: 2.8
Severity: minor | Resolution:
Keywords: has-patch wpautop |
-------------------------------+-----------------------------
Comment (by MikeHansenMe):
I agree with azaozz. If the shortcode was wrapped in autop and then the
content of the shortcode was "<div>hello</div>" you would end up with
"<p><div>hello</div></p>" which is incorrect markup. I think to wrap the
shortcode in p tags would create more problems than it would fix.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10269#comment:12>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list