From da6cc88cd88de9da54dc869ec43c25bce37c093d Mon Sep 17 00:00:00 2001 From: Veronica Berglyd Olsen <1619840+vkbo@users.noreply.github.com> Date: Thu, 17 Apr 2025 17:32:23 +0200 Subject: [PATCH] Replace alternative apostrophes before spell checking --- novelwriter/gui/dochighlight.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/novelwriter/gui/dochighlight.py b/novelwriter/gui/dochighlight.py index c70d30d0..8103fd79 100644 --- a/novelwriter/gui/dochighlight.py +++ b/novelwriter/gui/dochighlight.py @@ -505,7 +505,7 @@ class TextBlockData(QTextBlockUserData): text = f"{text[:s]}{pad}{text[e:]}" self._metaData.append((s, e, res.group(0), "url")) - self._text = text + self._text = text.replace("\u02bc", "'") self._offset = offset return