Fix linkifying rooms with underscores, try 2

Fixes https://github.com/vector-im/vector-web/issues/500
This commit is contained in:
David Baker 2016-09-21 14:11:43 +01:00
parent b83d1db24a
commit 59117f1905
2 changed files with 4 additions and 2 deletions

View File

@ -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",

View File

@ -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);