fix(markdown): escape closing square bracket
This commit is contained in:
parent
64d860cc4c
commit
f55d099b5f
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue