diff --git a/rest-api-templates/asterisk_processor.py b/rest-api-templates/asterisk_processor.py index 5f8dbb576b..de4732c606 100644 --- a/rest-api-templates/asterisk_processor.py +++ b/rest-api-templates/asterisk_processor.py @@ -46,6 +46,8 @@ def wikify(str): @param str: String to escape """ + # Replace all line breaks with line feeds + str = re.sub(r'', '\n', str) return re.sub(r'([{}\[\]])', r'\\\1', str)