From 0e27537a686e4bbc7d57a174fc921b52dee2535f Mon Sep 17 00:00:00 2001 From: admin Date: Wed, 17 Jun 2026 17:03:33 +0000 Subject: [PATCH] Enforce 60-char max per full line including spaces - Reduce content max_chars to 48 so that: - line_number (up to 2) + spaces (up to 9) + content (48) <= 60. --- scraibe/email_sender.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scraibe/email_sender.py b/scraibe/email_sender.py index 7ca9bfb..47d50b6 100644 --- a/scraibe/email_sender.py +++ b/scraibe/email_sender.py @@ -464,8 +464,8 @@ def create_transcript_docx(text: str, filename: str): # Configure section properties (margins, no built-in line numbering) _create_transcript_section_properties(doc.sections[0]) - # Max characters per visual line (for 12pt Courier, 1" margins) - max_chars = 60 + # Max characters per visual line (content only; total line including line number and spaces <= 60) + max_chars = 48 # Lines per page before restarting numbering lines_per_page = 29