fix: use   escape for non-breaking space (byte-exact transcription fix)

This commit is contained in:
2026-07-07 20:30:35 -04:00
parent 8d90ab449d
commit 346d0aabb6
+1 -1
View File
@@ -474,7 +474,7 @@ def _normalize_unicode(text: str, notes: list[str]) -> str:
out = text
for junk in _JUNK_CHARS:
out = out.replace(junk, "")
out = out.replace(" ", " ") # non-breaking space
out = out.replace(" ", " ") # non-breaking space
for smart, ascii_q in _QUOTE_MAP.items():
out = out.replace(smart, ascii_q)
if out != text: