changeset 417:538a1bd2f1f4

Tweak quoting for Markdown. Fixing #209.
author Brian Neal <bgneal@gmail.com>
date Sat, 16 Apr 2011 19:30:29 +0000
parents aabee29cadac
children 20af29454e83
files gpp/forums/views/main.py gpp/messages/utils.py
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/gpp/forums/views/main.py	Sun Apr 10 00:49:23 2011 +0000
+++ b/gpp/forums/views/main.py	Sat Apr 16 19:30:29 2011 +0000
@@ -1000,7 +1000,7 @@
     lines = wrap(message, 55).split('\n')
     for i, line in enumerate(lines):
         lines[i] = '> ' + line
-    return header + '\n'.join(lines)
+    return header + '\n'.join(lines) + '\n\n'
 
 
 def _move_topic(topic, old_forum, new_forum):
--- a/gpp/messages/utils.py	Sun Apr 10 00:49:23 2011 +0000
+++ b/gpp/messages/utils.py	Sat Apr 16 19:30:29 2011 +0000
@@ -26,4 +26,4 @@
    lines = wrap(message, 55).split('\n')
    for i, line in enumerate(lines):
       lines[i] = '> ' + line
-   return header + '\n'.join(lines)
+   return header + '\n'.join(lines) + '\n\n'