From 11e5309a8e7928d44c05ce34f8855bf2ea556dbf Mon Sep 17 00:00:00 2001 From: admin Date: Sun, 14 Jun 2026 21:14:45 +0000 Subject: [PATCH] End underline at colon in transcript .docx, not over following space --- scraibe/email_sender.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/scraibe/email_sender.py b/scraibe/email_sender.py index e392f87..36d8756 100644 --- a/scraibe/email_sender.py +++ b/scraibe/email_sender.py @@ -333,12 +333,19 @@ def create_transcript_docx(text: str, filename: str): p.paragraph_format.left_indent = Inches(0.25) # Timestamp + speaker name (underline only, not bold) - run_label = p.add_run(f"[{ts}] {speaker.upper()}: ") + run_label = p.add_run(f"[{ts}] {speaker.upper()}:") run_label.bold = False run_label.underline = True run_label.font.name = "Courier" 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) run_txt = p.add_run(content.strip()) run_txt.bold = False