From 17983efc477dbd5918ff353e2a50336b07fcad3f Mon Sep 17 00:00:00 2001 From: rolux Date: Sun, 27 May 2012 13:11:49 +0200 Subject: [PATCH] in Ox.sanitizeHTML, fix a bug with adding links --- source/Ox/js/HTML.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Ox/js/HTML.js b/source/Ox/js/HTML.js index 4735a144..ebb2834d 100644 --- a/source/Ox/js/HTML.js +++ b/source/Ox/js/HTML.js @@ -409,7 +409,7 @@ }); }); }); - html = Ox.addLinks(Ox.encodeHTMLEntities(html)); + html = Ox.addLinks(Ox.encodeHTMLEntities(html), true); matches.forEach(function(match, i) { html = html.replace(new RegExp(salt.join(i)), match); });