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

changes/47/11047/1
Joshua C. Colp 7 years ago committed by Gerrit Code Review
commit cc8aa4eee1

@ -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)

Loading…
Cancel
Save