Replace the RegExp for finding entities

The previous RegExp (\^\S+) captured closing parentheses.
This commit is contained in:
Ethan Jewett 2012-11-19 18:25:02 -06:00
parent 06bc4ceeb1
commit 5eff63fb44

View file

@ -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++) {