mirror of
https://github.com/nadrad/h-m-m.git
synced 2024-05-17 22:46:32 +02:00
fixed the bug from the previous commit
This commit is contained in:
parent
266541e3f3
commit
cdadfd3162
4
h-m-m
4
h-m-m
|
@ -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])!='')
|
||||
|
|
Loading…
Reference in a new issue