From 37234c51e4d852f2a830db02885e06404bc9a7df Mon Sep 17 00:00:00 2001 From: Mark Sapiro Date: Fri, 3 Oct 2008 14:59:00 -0700 Subject: Changed the stripping of trailing spaces from lines of the list headers and footers to leave a trailing space on a '-- ' signature separator. --- Mailman/Handlers/Decorate.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Mailman/Handlers/Decorate.py') diff --git a/Mailman/Handlers/Decorate.py b/Mailman/Handlers/Decorate.py index 64d569db..81bf7d33 100644 --- a/Mailman/Handlers/Decorate.py +++ b/Mailman/Handlers/Decorate.py @@ -227,7 +227,8 @@ def decorate(mlist, template, what, extradict=None): template = Utils.to_percent(template) # Interpolate into the template try: - text = re.sub(r' *\r?\n', r'\n', template % d) + text = re.sub(r'(?m)(?