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:
parent
b4fc0c0993
commit
60496bae0c
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue