commit 60496bae0cbda1162ae00bc6f6f4047ba9c7d86f
parent b4fc0c0993229b8fc8242e314e701f33a8102688
Author: Drew DeVault <sir@cmpwn.com>
Date: Sun, 27 Sep 2020 13:25:40 -0400
Improve display of preformatted & quotes
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/gmnlm.c b/src/gmnlm.c
@@ -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);
}