Changeset 28773 for trunk/tests/phpunit/tests/formatting/WPTexturize.php
- Timestamp:
- 06/18/2014 07:48:46 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/formatting/WPTexturize.php
r28765 r28773 1147 1147 return array( 1148 1148 array( 1149 '[ is it wise to <a title="allow user content ] here? hmm"> maybe </a> ]', 1150 '[ is it wise to <a title="allow user content ] here? hmm"> maybe </a> ]', 1151 ), 1152 array( 1149 1153 '[ photos by <a href="http://example.com/?a[]=1&a[]=2"> this guy </a> ]', 1150 1154 '[ photos by <a href="http://example.com/?a[]=1&a[]=2"> this guy </a> ]', … … 1195 1199 ), 1196 1200 array( 1201 '[gallery <br ... /> ...]', // This tag is still valid. Shortcode 'attributes' are not considered in the initial parsing of shortcodes, and HTML is allowed. 1197 1202 '[gallery <br ... /> ...]', 1198 '[gallery <br ... /> …]',1199 1203 ), 1200 1204 array( … … 1235 1239 ), 1236 1240 array( 1241 '[[gallery <br ... /> ...]]', // This gets parsed as an escaped shortcode with embedded HTML. Brains may explode. 1237 1242 '[[gallery <br ... /> ...]]', 1238 '[[gallery <br ... /> …]]',1239 1243 ), 1240 1244 array(
Note: See TracChangeset
for help on using the changeset viewer.