Replace the RegExp for finding entities
The previous RegExp (\^\S+) captured closing parentheses.
This commit is contained in:
parent
06bc4ceeb1
commit
5eff63fb44
1 changed files with 1 additions and 1 deletions
|
@ -294,7 +294,7 @@ function(jQuery, Paths, URI, HostApp, Followings) {
|
|||
|
||||
var text = node.innerHTML;
|
||||
var mentions_in_text = [];
|
||||
var res = text.match(/(\^\S+)/ig);
|
||||
var res = text.match(/(\^[\w:/.]+)/ig);
|
||||
|
||||
if (res) {
|
||||
for (var i = 0; i < res.length; i++) {
|
||||
|
|
Reference in a new issue