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')