Introduction
Introduction Statistics Contact Development Disclaimer Help
End list when indent is not reached - smu - smu - simple markup (Markdown) proc…
git clone git://git.codemadness.org/smu
Log
Files
Refs
README
LICENSE
---
commit 7fa950993c6d6deafe7787547951abdcec6e1a55
parent 7228740ed1e3b14d19744cde41655c21e2e84035
Author: Karl Bartel <[email protected]>
Date: Wed, 2 Oct 2019 13:06:09 +0200
End list when indent is not reached
Otherwise
```
- foo
- bar
+ baz
```
will become a nested list
Diffstat:
M smu.c | 2 ++
1 file changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/smu.c b/smu.c
@@ -391,6 +391,8 @@ dolist(const char *begin, const char *end, int newblock) {
else
break;
}
+ else if (j < indent)
+ run = 0;
}
ADDC(buffer, i) = *p;
}
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.