mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-07 14:14:36 +00:00
Shortcodes: Trim whitespace after sanitizing the shortcode output.
props Ankit K Gupta, obenland, miqrogroove. fixes #33259. git-svn-id: https://develop.svn.wordpress.org/trunk@33600 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -418,6 +418,14 @@ EOF;
|
||||
'<!--[if lt IE 7]>',
|
||||
'<!--[if lt IE 7]>',
|
||||
),
|
||||
array(
|
||||
'1 <a href="[test-shortcode-tag]"> 2 <a href="[test-shortcode-tag]" >',
|
||||
'1 <a href=""> 2 <a href="" >',
|
||||
),
|
||||
array(
|
||||
'1 <a noise="[test-shortcode-tag]"> 2 <a noise=" [test-shortcode-tag] " >',
|
||||
'1 <a noise="[test-shortcode-tag]"> 2 <a noise=" [test-shortcode-tag] " >',
|
||||
),
|
||||
array(
|
||||
'[gallery title="<div>hello</div>"]',
|
||||
'',
|
||||
|
||||
Reference in New Issue
Block a user