diff options
author | Linnnus <[email protected]> | 2024-04-05 15:47:07 +0200 |
---|---|---|
committer | Linnnus <[email protected]> | 2024-04-05 15:47:07 +0200 |
commit | 886ba03a4b7c4fd2d2ef500d0a065185d4a8cfb9 (patch) | |
tree | 1e392c51613271d2b6dc10cccb18857f32592305 | |
parent | f7568f504cea4606e0186c6aece22ac9e7f21ef6 (diff) |
fix(creole): Horizontal rule eats all input
-rw-r--r-- | src/creole.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/creole.c b/src/creole.c index dc37075..b6c9f88 100644 --- a/src/creole.c +++ b/src/creole.c @@ -528,7 +528,7 @@ long do_horizontal_rule(const char *begin, const char *end, bool new_block, FILE fputs("<hr>", out); } - return q - end; + return length; } void process(const char *begin, const char *end, bool new_block, FILE *out) { |