myparsedown fix notice
This commit is contained in:
parent
c6d2d2198c
commit
72ed74e789
@ -68,10 +68,12 @@ class MyParsedown extends ParsedownExtended {
|
||||
if ($opt == 'nolabel')
|
||||
$opts[$opt] = true;
|
||||
else {
|
||||
list($k, $v) = explode('=', $opt);
|
||||
if (!isset($opts[$k]))
|
||||
continue;
|
||||
$opts[$k] = $v;
|
||||
if (str_contains($opt, '=')) {
|
||||
list($k, $v) = explode('=', $opt);
|
||||
if (!isset($opts[$k]))
|
||||
continue;
|
||||
$opts[$k] = $v;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user