From 213c83f3e90359580251904c61a60e6e18a75eaf Mon Sep 17 00:00:00 2001 From: jeena Date: Thu, 25 Jul 2013 18:53:14 +0200 Subject: [PATCH] only digits in mentions --- WebKit/scripts/helper/Core.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WebKit/scripts/helper/Core.js b/WebKit/scripts/helper/Core.js index a003ae1..4b8983e 100644 --- a/WebKit/scripts/helper/Core.js +++ b/WebKit/scripts/helper/Core.js @@ -673,7 +673,7 @@ function(jQuery, APICalls, URI, HostApp) { .replace(/~([^~]+)~/g, "$1") .replace(/\#([^\s]+)/g, "#$1") .replace(/(^|[^\^])\[([^\]]+)\]\(([^\)]+)\)/g, "$2") - .replace(/\^\[([^\]]+)\]\(([^\)]+)\)/g, "$1"); + .replace(/\^\[([^\]]+)\]\((\d+)\)/g, "$1"); } Core.prototype.parseForMedia = function(text, images) {