Fix paragraphs after ruler - smu - smu - simple markup (Markdown) processor (fork, fixes + features)
 (HTM) git clone git://git.codemadness.org/smu
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 7228740ed1e3b14d19744cde41655c21e2e84035
 (DIR) parent 68edb1b8fdf4596a379712264e23d6412ff41ddb
 (HTM) Author: Karl Bartel <karl42@gmail.com>
       Date:   Wed,  2 Oct 2019 13:03:36 +0200
       
       Fix paragraphs after ruler
       
       ```
       - - -
       
       foo
       ```
       did not work because the empty line was swallowed when parsing the
       ruler.
       
       Diffstat:
         M smu.c                               |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
 (DIR) diff --git a/smu.c b/smu.c
       @@ -207,7 +207,7 @@ dolineprefix(const char *begin, const char *end, int newblock) {
                        fputs(lineprefix[i].before, stdout);
                        if(lineprefix[i].search[l-1] == '\n') {
                                fputc('\n', stdout);
       -                        return l;
       +                        return l - 1;
                        }
                        if(!(buffer = malloc(BUFSIZ)))
                                eprint("Malloc failed.");