Skip to content
Snippets Groups Projects
Commit cc8aa4ee authored by Joshua C. Colp's avatar Joshua C. Colp Committed by Gerrit Code Review
Browse files

Merge "rest-api-templates/asterisk_processor - replace http line breaks with line feed" into 16

parents aefc5019 cab8a76a
No related branches found
No related tags found
No related merge requests found
......@@ -46,6 +46,8 @@ def wikify(str):
@param str: String to escape
"""
# Replace all line breaks with line feeds
str = re.sub(r'<br\s*/?>', '\n', str)
return re.sub(r'([{}\[\]])', r'\\\1', str)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment