myparsedown fix notice

This commit is contained in:
E. S. 2024-03-14 10:58:12 +00:00
parent c6d2d2198c
commit 72ed74e789

View File

@ -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;
}
}
}