fixed problem with ^usernames
This commit is contained in:
parent
c341967601
commit
a7564f10a9
1 changed files with 3 additions and 1 deletions
|
@ -644,7 +644,9 @@ function(jQuery, Paths, URI, HostApp, Cache) {
|
||||||
|
|
||||||
var text = node.innerHTML;
|
var text = node.innerHTML;
|
||||||
var mentions_in_text = [];
|
var mentions_in_text = [];
|
||||||
var res = text.match(/(\^[\w:/]+\.[\w:/.]+(?:[\w]))/ig);
|
|
||||||
|
var res = text.match(/(\^[\w:/.]+(?:[\w]))/ig);
|
||||||
|
|
||||||
if (res) {
|
if (res) {
|
||||||
for (var i = 0; i < res.length; i++) {
|
for (var i = 0; i < res.length; i++) {
|
||||||
var name = res[i];
|
var name = res[i];
|
||||||
|
|
Reference in a new issue