fixed 1746:auth.wiki renders multi-line code as single-line, thanks Alan
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -927,7 +927,7 @@ def render(text,
|
|||||||
text = text.encode('utf8')
|
text = text.encode('utf8')
|
||||||
text = str(text or '')
|
text = str(text or '')
|
||||||
text = regex_backslash.sub(lambda m: m.group(1).translate(ttab_in), text)
|
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:
|
if URL is not None:
|
||||||
text = replace_at_urls(text,URL)
|
text = replace_at_urls(text,URL)
|
||||||
|
|||||||
Reference in New Issue
Block a user