bcc_core.py: fix non-breaking-space byte lost in transcription

This commit is contained in:
2026-07-07 20:22:45 -04:00
parent 165c65be5f
commit 0f1cdbef3c
+1 -1
View File
@@ -528,7 +528,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: