From 7a84fa2195baceaec61fd3f8dd4ecb1b4370541a Mon Sep 17 00:00:00 2001 From: "David J. Kalbfleisch" <1.21e9W@protonmail.com> Date: Tue, 17 Dec 2024 09:55:48 -0500 Subject: [PATCH] squash 169 - clean up --- notifications_utils/formatters.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/notifications_utils/formatters.py b/notifications_utils/formatters.py index f32118ea..fcad92bc 100644 --- a/notifications_utils/formatters.py +++ b/notifications_utils/formatters.py @@ -57,12 +57,10 @@ multiple_newlines = re.compile(r'((\n)\2{2,})') -# TODO - Delete this? I would expect Mistune to handle this. def nl2br(value): return re.sub(r'\n|\r', '
', value.strip()) -# TODO - Delete this? I would expect Mistune to handle this. def nl2li(value): return ''.format('
  • '.join( value.strip().split('\n')