Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Fix linkifying rooms with underscores, try 2
Browse files Browse the repository at this point in the history
  • Loading branch information
dbkr committed Sep 21, 2016
1 parent b83d1db commit 59117f1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 3 additions & 1 deletion src/linkify-matrix.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 59117f1

Please sign in to comment.