author | Olivier Brunel
<jjk@jjacky.com> 2023-01-01 21:37:19 UTC |
committer | Olivier Brunel
<jjk@jjacky.com> 2023-01-04 15:09:27 UTC |
parent | eb64d6e4902b22085df591ba4f4435ac6202c20f |
main.c | +2 | -0 |
diff --git a/main.c b/main.c index bedbd8a..217f45e 100644 --- a/main.c +++ b/main.c @@ -916,6 +916,8 @@ convert_page(struct ctx *ctx, int fddest) stralloc_catb(&ctx->sa, "\n", 1); } + ctx->doc.flags = 0; + const MD_PARSER parser = { .flags = MD_FLAG_COLLAPSEWHITESPACE | MD_FLAG_PERMISSIVEAUTOLINKS | MD_FLAG_NOHTMLBLOCKS | MD_FLAG_STRIKETHROUGH | MD_FLAG_UNDERLINE