s
This commit is contained in:
parent
d99bff14cf
commit
09ac51425b
4
main.c
4
main.c
|
|
@ -120,6 +120,7 @@ void checker(void) {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
doitalic(void) {
|
||||
if (!mdt.italic) {
|
||||
|
|
@ -308,7 +309,7 @@ if (txt[0] == '#') {
|
|||
fseek(fpto, 0, SEEK_SET);
|
||||
fprintf(fpto, "<html>\n<head>\n<meta charset=\"utf-8\"/>\n"
|
||||
"<title>%s</title>\n<link rel=\"stylesheet\" href=\"style.css\">\n"
|
||||
"</head>\n<body>\n\n\n\n\n", title_start);
|
||||
"</head>\n<body>\n\n\n\n", title_start);
|
||||
fseek(fpto, 0, SEEK_END);
|
||||
}
|
||||
fprintf(fpto, "<h1>%s</h1>", title_start);
|
||||
|
|
@ -318,7 +319,6 @@ if (txt[0] == '#') {
|
|||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
else if (len > 1 && txt[0] == '>' && txt[1] != '\\') {
|
||||
doblockquote();
|
||||
while (i < len && (txt[i] == '>' || txt[i] == ' ')) i++;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user