[wp-trac] [WordPress Trac] #14050: shortcode_unautop() should also remove the <br /> added after shortcodes
WordPress Trac
noreply at wordpress.org
Wed Jan 16 04:00:18 UTC 2013
#14050: shortcode_unautop() should also remove the <br /> added after shortcodes
-------------------------------------------------+-------------------------
Reporter: aaroncampbell | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future
Component: Formatting | Release
Severity: normal | Version: 3.0
Keywords: dev-feedback 3.3-early needs- | Resolution:
refresh |
-------------------------------------------------+-------------------------
Comment (by SergeyBiryukov):
`shortcode_unautop()` was rewritten in [18952], however the associated
test still fails:
{{{
1) Tests_Shortcode::test_multiple_shortcode_unautop
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'[footag]
-[footag]
+'<p>[footag]<br />
+[footag]</p>
'
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14050#comment:14>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list