blockquote fix

This commit is contained in:
Radhitya 2025-01-14 23:14:34 +07:00
parent 796535c3aa
commit a8dcf0738f

2
main.c
View File

@ -147,7 +147,7 @@ main(int argc, char *argv[])
} else if (len > 1 && txt[0] == '>' && txt[1] != '\\') {
fprintf(fpto, "<blockquote>");
mdt.quote = 1;
i = 0;
while (i < len && (txt[i] == '>' || txt[i] == ' ')) i++;
} else {
fprintf(fpto, "<p>");
i = 0;