From 1a3bc4ca003c3b1b04256a79e56a5c433f88c9b9 Mon Sep 17 00:00:00 2001 From: Eduardo Lauer Date: Mon, 24 Jun 2024 14:38:34 -0300 Subject: [PATCH] force justify text --- src/notification/email_sender.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/notification/email_sender.py b/src/notification/email_sender.py index 06ba45d..284af60 100644 --- a/src/notification/email_sender.py +++ b/src/notification/email_sender.py @@ -113,7 +113,7 @@ def generate_email_content(self) -> str: item_html = f"""

{sec_desc}

### [{item['title']}]({item['href']}) -

{item['abstract']}

+

{item['abstract']}

{item['date']}

""" blocks.append( textwrap.indent(textwrap.dedent(item_html), " " * 4) @@ -121,7 +121,7 @@ def generate_email_content(self) -> str: else: item_html = f""" ### [{item['title']}]({item['href']}) -

{item['abstract']}



""" +

{item['abstract']}



""" blocks.append(textwrap.dedent(item_html)) blocks.append("---")