fixed problem with ^usernames

This commit is contained in:
Jeena Paradies 2013-01-15 18:13:38 +01:00
parent c341967601
commit a7564f10a9

View file

@ -644,7 +644,9 @@ function(jQuery, Paths, URI, HostApp, Cache) {
var text = node.innerHTML;
var mentions_in_text = [];
var res = text.match(/(\^[\w:/]+\.[\w:/.]+(?:[\w]))/ig);
var res = text.match(/(\^[\w:/.]+(?:[\w]))/ig);
if (res) {
for (var i = 0; i < res.length; i++) {
var name = res[i];