fixed the bug from the previous commit

This commit is contained in:
nadrad 2022-08-30 20:30:35 +02:00
parent 266541e3f3
commit cdadfd3162

4
h-m-m
View file

@ -242,7 +242,9 @@ function decode_tree($lines, $root_id, $start_id){
$lines[$lid]
);
if (($lines[$lid][0]=='*' || $lines[$lid][0]=='-')&& $lines[$lid][1]==' ')
$start = mb_substr($lines[$lid],0,2);
if ($start==='* ' || $start==='- ')
$lines[$lid][0]=' ';
if (trim($lines[$lid])!='')