1
0
Fork 0
mirror of https://git.sr.ht/~sircmpwn/gmni synced 2024-06-03 11:06:03 +02:00

Improve display of preformatted & quotes

This commit is contained in:
Drew DeVault 2020-09-27 13:25:40 -04:00
parent b4fc0c0993
commit 60496bae0c

View File

@ -457,7 +457,6 @@ repeat:
case GEMINI_PREFORMATTED_END:
continue; // Not used
case GEMINI_PREFORMATTED_TEXT:
col += fprintf(out, "` ");
if (text == NULL) {
text = tok.preformatted;
}
@ -494,7 +493,8 @@ repeat:
}
break;
case GEMINI_QUOTE:
col += fprintf(out, "> ");
col += fprintf(out, "%s ",
browser->unicode ? "" : ">");
if (text == NULL) {
text = trim_ws(tok.quote_text);
}