diff --git a/rest-api-templates/asterisk_processor.py b/rest-api-templates/asterisk_processor.py index 5f8dbb576b6fb85bc1d68fa6de5a5373401343dd..de4732c606e06e3293ac05881b4026786943ff1f 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'<br\s*/?>', '\n', str) return re.sub(r'([{}\[\]])', r'\\\1', str)