summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwrmr2025-05-22 15:06:47 -0500
committerwrmr2025-05-22 15:06:47 -0500
commit41548b07eb282eb300bad4aad8da6acfaac1061f (patch)
treec7ab21062d3be63b51234a103f612bfb7ec855b7
parent75d2d764b74763ee0acfd690ec0fd64360402087 (diff)
use utf-8 em dash instead of —
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 7830adf..8f5a784 100644
--- a/main.c
+++ b/main.c
@@ -401,7 +401,7 @@ void markup_inline(InlineState *ms, Str *out, Str src, Arena *scratch, Arena *pe
if (!f.n) break;
i = f.s - src.s + 1;
} else if (str_starts(skp, S("---"))) {
- str_cat(out, S("—"), perm);
+ str_cat(out, S("—"), perm);
i += 2;
} else {
text_inline(ms, c, out, perm);