From a4ff7eade7fe022fcde5d2052e1557aa68ea235e Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Fri, 25 Jul 2014 01:38:12 +0500 Subject: [PATCH] render image urls --- html5/verto/demo/verto.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html5/verto/demo/verto.js b/html5/verto/demo/verto.js index de27cabbb1..e8cc456867 100644 --- a/html5/verto/demo/verto.js +++ b/html5/verto/demo/verto.js @@ -115,7 +115,7 @@ var callbacks = { var body = data.body; if (body.match(/\.gif|\.jpg|\.jpeg|\.png/)) { - body = body.replace(/(http[s]{0,1}:\/\/\S+)/g, "$1
<\/a>"); + body = body.replace(/(http[s]{0,1}:\/\/\S+)/g, "
$1
<\/a>"); } else { body = body.replace(/(http[s]{0,1}:\/\/\S+)/g, "
$1<\/a>"); }