markup should preserve empty lines
This commit is contained in:
parent
7000cbc2d2
commit
9816507a75
|
@ -687,6 +687,13 @@ class Parsedown
|
|||
}
|
||||
}
|
||||
|
||||
if (isset($Block['interrupted']))
|
||||
{
|
||||
$Block['element'] .= "\n";
|
||||
|
||||
unset($Block['interrupted']);
|
||||
}
|
||||
|
||||
$Block['element'] .= "\n".$Line['body'];
|
||||
|
||||
return $Block;
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
<div>
|
||||
line 1
|
||||
|
||||
line 2
|
||||
line 3
|
||||
|
||||
line 4
|
||||
</div>
|
|
@ -0,0 +1,8 @@
|
|||
<div>
|
||||
line 1
|
||||
|
||||
line 2
|
||||
line 3
|
||||
|
||||
line 4
|
||||
</div>
|
Loading…
Reference in New Issue