release: v1.2.0 — About+update checker, log viewer, restart button, dup-name fix, stale-file hardening #26

Merged
the_og merged 34 commits from release/v1.2.0 into main 2026-07-08 11:34:35 -04:00
Showing only changes of commit 2d9fb083dc - Show all commits
+5 -5
View File
@@ -465,13 +465,13 @@ def suggest_name(data: dict) -> str:
# Word-processor / web artifacts mapped back to ASCII. # Word-processor / web artifacts mapped back to ASCII.
_QUOTE_MAP = { _QUOTE_MAP = {
""": '"', "": '"',
""": '"', "": '"',
"": '"', "": '"',
"«": '"', "«": '"',
"»": '"', "»": '"',
"'": "'", "": "'",
"'": "'", "": "'",
"": "'", "": "'",
} }
_JUNK_CHARS = "" # zero-width chars / BOM _JUNK_CHARS = "" # zero-width chars / BOM
@@ -493,7 +493,7 @@ def _normalize_unicode(text: str, notes: list[str]) -> str:
out = text out = text
for junk in _JUNK_CHARS: for junk in _JUNK_CHARS:
out = out.replace(junk, "") out = out.replace(junk, "")
out = out.replace(" ", " ") # non-breaking space out = out.replace(" ", " ") # non-breaking space
for smart, ascii_q in _QUOTE_MAP.items(): for smart, ascii_q in _QUOTE_MAP.items():
out = out.replace(smart, ascii_q) out = out.replace(smart, ascii_q)
if out != text: if out != text: