fix(markdown): fixed escape regex
This commit is contained in:
parent
9545e9e24a
commit
3aa53c7830
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ const TAG_STRIKE = '~~'
|
||||||
const TAG_CODE = '`'
|
const TAG_CODE = '`'
|
||||||
const TAG_PRE = '```'
|
const TAG_PRE = '```'
|
||||||
|
|
||||||
const TO_BE_ESCAPED = /[*_\-~`[\\]]/g
|
const TO_BE_ESCAPED = /[*_\-~`[\\\]]/g
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Markdown MessageEntity parser.
|
* Markdown MessageEntity parser.
|
||||||
|
|
Loading…
Reference in a new issue