[wp-trac] [WordPress Trac] #28564: Shortcode Attributes with HTML Tags no longer working
WordPress Trac
noreply at wordpress.org
Thu Jun 26 18:21:37 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 wonderboymusic):
Failing tests:
{{{
1) Tests_Formatting_WPTexturize::test_translate with data set #36 ('[ do
texturize "[quote]" here ]', '[ do texturize “[quote]” here
]')
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'[ do texturize “[quote]” here ]'
+'[ do texturize !openq2![quote]!closeq2! here ]'
/Users/205410/Sites/wordpress-core-
develop/tests/phpunit/tests/formatting/WPTexturize.php:1430
2) Tests_Formatting_WPTexturize::test_translate with data set #38 ('[ but
also catches the <b>styled "[quote]" here</b> ]', '[ but also catches the
<b>styled “[quote]” here</b> ]')
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'[ but also catches the <b>styled “[quote]” here</b> ]'
+'[ but also catches the <b>styled !openq2![quote]!closeq2! here</b> ]'
/Users/205410/Sites/wordpress-core-
develop/tests/phpunit/tests/formatting/WPTexturize.php:1430
3) Tests_Formatting_WPTexturize::test_translate with data set #39
('[Let\'s get crazy<input>[plugin code="<a
href=\'?a[]=100\'>hello</a>"]</input>world]', '[Let’s get
crazy<input>[plugin code="<a href=\'?a[]=100\'>hello</a>"]</input>world]')
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'[Let’s get crazy<input>[plugin code="<a
href='?a[]=100'>hello</a>"]</input>world]'
+'[Let!apos!s get crazy<input>[plugin code="<a
href='?a[]=100'>hello</a>"]</input>world]'
/Users/205410/Sites/wordpress-core-
develop/tests/phpunit/tests/formatting/WPTexturize.php:1430
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28564#comment:30>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list