diff --git a/src/action/markdown.c b/src/action/markdown.c index 26d6f5d..cec25ef 100644 --- a/src/action/markdown.c +++ b/src/action/markdown.c @@ -115,11 +115,8 @@ static int enter_block(MD_BLOCKTYPE type, void* detail, void* user) { in_message = 1; } else { print_indent(); - fprintf(out, "
\n");
- indent++;
- print_indent();
- fprintf(out, "\n");
- indent++;
+ fprintf(out, "");
+ fprintf(out, "");
}
} else if(type == MD_BLOCK_TABLE) {
print_indent();
@@ -216,12 +213,7 @@ static int leave_block(MD_BLOCKTYPE type, void* detail, void* user) {
in_message = 0;
} else {
- indent--;
- print_indent();
- fprintf(out, "\n");
- indent--;
- print_indent();
- fprintf(out, "
\n");
+ fprintf(out, "\n");
}
} else if(type == MD_BLOCK_TABLE) {
indent--;