Fix from mailing list.
git-svn-id: https://develop.svn.wordpress.org/trunk@2424 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
66f5cbe5df
commit
dc25d8ac9f
@ -70,7 +70,7 @@ POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
$text = preg_split("/\n/",$text);
|
||||
foreach($text as $line){
|
||||
$line = trim($line);
|
||||
$line = rtrim($line);
|
||||
$lineout[] = $line;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user