summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xaurweb/scripts/notify.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/aurweb/scripts/notify.py b/aurweb/scripts/notify.py
index 6c3be222..f2767fd8 100755
--- a/aurweb/scripts/notify.py
+++ b/aurweb/scripts/notify.py
@@ -54,6 +54,9 @@ class Notification:
def get_body_fmt(self, lang):
body = ''
for line in self.get_body(lang).splitlines():
+ if line == '-- ':
+ body += '-- \n'
+ continue
body += textwrap.fill(line, break_long_words=False) + '\n'
for i, ref in enumerate(self.get_refs()):
body += '\n' + '[%d] %s' % (i + 1, ref)