From a748a69de38758f962fb5312d3eb17d25185f37c Mon Sep 17 00:00:00 2001 From: Veronica Berglyd Olsen <1619840+vkbo@users.noreply.github.com> Date: Sun, 6 Jul 2025 18:24:05 +0200 Subject: [PATCH] Remove redundant string compact implementation --- novelwriter/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/novelwriter/common.py b/novelwriter/common.py index 9d18515f..2ad42935 100644 --- a/novelwriter/common.py +++ b/novelwriter/common.py @@ -301,7 +301,7 @@ def uniqueCompact(text: str) -> str: def processDialogSymbols(symbols: str) -> str: """Process dialogue line symbols.""" result = "" - for c in uniqueCompact("".join(symbols.split())): + for c in uniqueCompact(symbols): if c in nwQuotes.ALLOWED: result += c return result