mirror of
https://github.com/nadrad/h-m-m.git
synced 2024-06-07 03:42:13 +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]
|
$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]=' ';
|
$lines[$lid][0]=' ';
|
||||||
|
|
||||||
if (trim($lines[$lid])!='')
|
if (trim($lines[$lid])!='')
|
||||||
|
|
Loading…
Reference in a new issue