mirror of
https://github.com/e107inc/e107.git
synced 2025-08-13 18:14:26 +02:00
Parser: Fix for line-breaks when converting HTML back to plain text.
This commit is contained in:
@@ -497,6 +497,7 @@ TMP;
|
||||
$arr = array(
|
||||
0 => array('html'=>"<h1><a href='#'>My Caption</a></h1>", 'expected' => 'My Caption'),
|
||||
1 => array('html'=>"<div><h1><a href='#'>My Caption</a></h1></div>", 'expected' => 'My Caption'),
|
||||
2 => array('html'=>'Line 1<br />Line 2<br />Line 3<br />', 'expected'=> "Line 1\nLine 2\nLine 3\n"),
|
||||
);
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user