End list when indent is not reached
Otherwise ``` - foo - bar + baz ``` will become a nested list
This commit is contained in:
parent
7228740ed1
commit
7fa950993c
1 changed files with 2 additions and 0 deletions
2
smu.c
2
smu.c
|
@ -391,6 +391,8 @@ dolist(const char *begin, const char *end, int newblock) {
|
||||||
else
|
else
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
else if (j < indent)
|
||||||
|
run = 0;
|
||||||
}
|
}
|
||||||
ADDC(buffer, i) = *p;
|
ADDC(buffer, i) = *p;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue