From f0213d5effd1380f1155fc7725ad20f176d958f9 Mon Sep 17 00:00:00 2001 From: Brage Fuglseth Date: Mon, 1 Jul 2024 13:55:22 +0200 Subject: [PATCH] aliases: Add typographic quotation --- src/text_utils.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/text_utils.rs b/src/text_utils.rs index ec58e64..f793298 100644 --- a/src/text_utils.rs +++ b/src/text_utils.rs @@ -19,6 +19,7 @@ const ALIASES: &'static [(&'static str, &'static str)] = &[ ("„", "\""), // Typographic quotation marks ("”", "\""), ("“", "\""), + ("’", "'"), // Typoographic apostrophe ("\u{00A0}", "\u{0020}"), // Non-breaking spaces made typable as regular ones ("\u{202F}", "\u{0020}"), ];