This commit is contained in:
parent
3cbcb8b1da
commit
994766340b
1 changed files with 3 additions and 11 deletions
|
|
@ -115,11 +115,8 @@ static int enter_block(MD_BLOCKTYPE type, void* detail, void* user) {
|
||||||
in_message = 1;
|
in_message = 1;
|
||||||
} else {
|
} else {
|
||||||
print_indent();
|
print_indent();
|
||||||
fprintf(out, "<pre>\n");
|
fprintf(out, "<pre>");
|
||||||
indent++;
|
fprintf(out, "<code>");
|
||||||
print_indent();
|
|
||||||
fprintf(out, "<code>\n");
|
|
||||||
indent++;
|
|
||||||
}
|
}
|
||||||
} else if(type == MD_BLOCK_TABLE) {
|
} else if(type == MD_BLOCK_TABLE) {
|
||||||
print_indent();
|
print_indent();
|
||||||
|
|
@ -216,12 +213,7 @@ static int leave_block(MD_BLOCKTYPE type, void* detail, void* user) {
|
||||||
|
|
||||||
in_message = 0;
|
in_message = 0;
|
||||||
} else {
|
} else {
|
||||||
indent--;
|
fprintf(out, "</code></pre>\n");
|
||||||
print_indent();
|
|
||||||
fprintf(out, "</code>\n");
|
|
||||||
indent--;
|
|
||||||
print_indent();
|
|
||||||
fprintf(out, "</pre>\n");
|
|
||||||
}
|
}
|
||||||
} else if(type == MD_BLOCK_TABLE) {
|
} else if(type == MD_BLOCK_TABLE) {
|
||||||
indent--;
|
indent--;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue