mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-15 12:45:11 +08:00
Fix linkifying rooms with underscores, try 2
Fixes https://github.com/vector-im/vector-web/issues/500
This commit is contained in:
parent
b83d1db24a
commit
59117f1905
@ -36,7 +36,7 @@
|
||||
"fuse.js": "^2.2.0",
|
||||
"glob": "^5.0.14",
|
||||
"highlight.js": "^8.9.1",
|
||||
"linkifyjs": "2.0.0-beta.4",
|
||||
"linkifyjs": "^2.1.0",
|
||||
"lodash": "^4.13.1",
|
||||
"marked": "^0.3.5",
|
||||
"matrix-js-sdk": "matrix-org/matrix-js-sdk#develop",
|
||||
|
@ -42,7 +42,9 @@ function matrixLinkify(linkify) {
|
||||
TT.PLUS,
|
||||
TT.NUM,
|
||||
TT.DOMAIN,
|
||||
TT.TLD
|
||||
TT.TLD,
|
||||
TT.UNDERSCORE,
|
||||
TT.POUND,
|
||||
];
|
||||
|
||||
S_START.on(TT.POUND, S_HASH);
|
||||
|
Loading…
Reference in New Issue
Block a user