End underline at colon in transcript .docx, not over following space
Mirror and run GitLab CI / build (push) Has been cancelled
Ruff / ruff (push) Has been cancelled

This commit is contained in:
admin
2026-06-14 21:14:45 +00:00
parent a3ca1f3505
commit 11e5309a8e
+7
View File
@@ -339,6 +339,13 @@ def create_transcript_docx(text: str, filename: str):
run_label.font.name = "Courier" run_label.font.name = "Courier"
run_label.font.size = Pt(12) run_label.font.size = Pt(12)
# Space after colon (no underline)
run_space = p.add_run(" ")
run_space.bold = False
run_space.underline = False
run_space.font.name = "Courier"
run_space.font.size = Pt(12)
# Spoken text (no underline, no bold) # Spoken text (no underline, no bold)
run_txt = p.add_run(content.strip()) run_txt = p.add_run(content.strip())
run_txt.bold = False run_txt.bold = False