xP: fix up link detection
Allow balanced parantheses at the end of a link.
This commit is contained in:
parent
ef3d1cc409
commit
67d52a2d89
@ -435,7 +435,7 @@ for (let i = 0; i < 24; i++) {
|
||||
let linkRE = [
|
||||
/https?:\/\//,
|
||||
/([^\[\](){}<>"'\s]|\([^\[\](){}<>"'\s]*\))+/,
|
||||
/[^\[\](){}<>"'\s,.:]/,
|
||||
/([^\[\](){}<>"'\s,.:]|\([^\[\](){}<>"'\s]*\))/,
|
||||
].map(r => r.source).join('')
|
||||
|
||||
let BufferList = {
|
||||
|
Loading…
Reference in New Issue
Block a user