NOCHMAL FIX

This commit is contained in:
Andreas Bielawski
2016-07-17 20:58:06 +02:00
parent faf06cca2a
commit bf06e1051b
2 changed files with 9 additions and 3 deletions

View File

@@ -490,8 +490,7 @@ end
function utilities.markdown_escape(text)
text = text:gsub('_', '\\_')
text = text:gsub('%[', '[[')
text = text:gsub('%]', ']]')
text = text:gsub('%[', '\\[')
text = text:gsub('%*', '\\*')
text = text:gsub('`', '\\`')
return text