@@ -225,6 +225,12 @@ public function provideShortcodes()
225225 new ParsedShortcode (new Shortcode ('y ' , array (), ' ] [] [ [z] [/#] [/z] [ [] ] [/] ' , null ), '[y] ] [] [ [z] [/#] [/z] [ [] ] [/] [/y] ' , 27 ),
226226 new ParsedShortcode (new Shortcode ('z ' , array (), ' [ [/ [/] /] ] ' , null ), '[z] [ [/ [/] /] ] [/z] ' , 70 ),
227227 )),
228+ array ($ s , '[x=/[/] [y a=/"//] [z=http://url/] [a=http://url ] ' , array (
229+ new ParsedShortcode (new Shortcode ('x ' , array (), null , '/[ ' ), '[x=/[/] ' , 0 ),
230+ new ParsedShortcode (new Shortcode ('y ' , array ('a ' => '/"/ ' ), null , null ), '[y a=/"//] ' , 8 ),
231+ new ParsedShortcode (new Shortcode ('z ' , array (), null , 'http://url ' ), '[z=http://url/] ' , 19 ),
232+ new ParsedShortcode (new Shortcode ('a ' , array (), null , 'http://url ' ), '[a=http://url ] ' , 35 ),
233+ )),
228234 );
229235
230236 /**
@@ -239,7 +245,7 @@ public function provideShortcodes()
239245 *
240246 * Tests cases from array above with identifiers in the array below must be skipped.
241247 */
242- $ wordpressSkip = array (3 , 6 , 16 , 21 , 22 , 23 , 25 , 32 , 33 , 34 , 46 , 47 , 49 );
248+ $ wordpressSkip = array (3 , 6 , 16 , 21 , 22 , 23 , 25 , 32 , 33 , 34 , 46 , 47 , 49 , 51 );
243249 $ result = array ();
244250 foreach ($ tests as $ key => $ test ) {
245251 $ syntax = array_shift ($ test );
0 commit comments