author | Olivier Brunel
<jjk@jjacky.com> 2022-12-31 21:16:47 UTC |
committer | Olivier Brunel
<jjk@jjacky.com> 2022-12-31 21:16:47 UTC |
parent | 9371d20511ac5b2ccb842e21e8ed2f7ffb6cf345 |
main.c | +2 | -2 |
diff --git a/main.c b/main.c index a9672f9..c4cc274 100644 --- a/main.c +++ b/main.c @@ -525,13 +525,13 @@ leave_block(MD_BLOCKTYPE type, void *details, void *ctx_) localtime_r(&ts.tv_sec, &tm); year[uint32_fmt(year, (uint32) 1900 + tm.tm_year)] = '\0'; if (((ctx->doc.flags & DOC_HAS_TITLE) && !raw_str(ctx, "</section>")) - || !raw_str(ctx, "</main><footer>Copyright © ") + || !raw_str(ctx, "<footer>Copyright © ") || !raw_str(ctx, year) || !raw_str(ctx, " ") || !escape_text(ctx, ctx->doc.author, strlen(ctx->doc.author)) || !raw_str(ctx, "<br>" "<span class=\"generated\">Generated with qmdoc</span>" - "</footer></body></html>")) + "</footer></main></body></html>")) return ERR_PARSER_LEAVE_BLOCK; break;