Fix from mailing list.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2424 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
00e11b95f4
commit
0ee45ebf10
|
@ -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