fix(markdown): proper handling of non-link [] groups
This commit is contained in:
parent
3b523598ad
commit
96d133dd2f
1 changed files with 1 additions and 0 deletions
|
@ -128,6 +128,7 @@ export class MarkdownMessageEntityParser implements IMessageEntityParser {
|
||||||
// ignore this, and add opening [
|
// ignore this, and add opening [
|
||||||
result = `${result.substr(0, ent.offset)}[${result.substr(ent.offset)}]`
|
result = `${result.substr(0, ent.offset)}[${result.substr(ent.offset)}]`
|
||||||
pos += 1
|
pos += 1
|
||||||
|
insideLink = false
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue