mirror of
https://github.com/erusev/parsedown.git
synced 2023-08-10 21:13:06 +03:00
void markup blocks be marked
This commit is contained in:
parent
78960cf792
commit
0d28808392
@ -692,6 +692,8 @@ class Parsedown
|
|||||||
if (isset($matches[2]) or in_array($matches[1], $this->voidElements))
|
if (isset($matches[2]) or in_array($matches[1], $this->voidElements))
|
||||||
{
|
{
|
||||||
$Block['closed'] = true;
|
$Block['closed'] = true;
|
||||||
|
|
||||||
|
$Block['void'] = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user