fixed 1746:auth.wiki renders multi-line code as single-line, thanks Alan

This commit is contained in:
Massimo
2013-11-07 11:00:39 -06:00
parent f95476c51e
commit 40d5e5dfe9
2 changed files with 2 additions and 2 deletions

View File

@@ -1 +1 @@
Version 2.7.4-stable+timestamp.2013.11.07.10.47.19
Version 2.7.4-stable+timestamp.2013.11.07.11.00.04

View File

@@ -927,7 +927,7 @@ def render(text,
text = text.encode('utf8')
text = str(text or '')
text = regex_backslash.sub(lambda m: m.group(1).translate(ttab_in), text)
text = text.replace('\x05','') # concatenate strings separeted by \\n
text = text.replace('\x05','').replace('\r\n', '\n') # concatenate strings separeted by \\n
if URL is not None:
text = replace_at_urls(text,URL)