fix(markdown): fixed escape regex

This commit is contained in:
teidesu 2021-04-25 13:57:01 +03:00
parent 9545e9e24a
commit 3aa53c7830

View file

@ -11,7 +11,7 @@ const TAG_STRIKE = '~~'
const TAG_CODE = '`'
const TAG_PRE = '```'
const TO_BE_ESCAPED = /[*_\-~`[\\]]/g
const TO_BE_ESCAPED = /[*_\-~`[\\\]]/g
/**
* Markdown MessageEntity parser.