in Ox.sanitizeHTML, fix a bug with adding links

This commit is contained in:
rolux 2012-05-27 13:11:49 +02:00
parent c41afd2f5d
commit 17983efc47

View file

@ -409,7 +409,7 @@
}); });
}); });
}); });
html = Ox.addLinks(Ox.encodeHTMLEntities(html)); html = Ox.addLinks(Ox.encodeHTMLEntities(html), true);
matches.forEach(function(match, i) { matches.forEach(function(match, i) {
html = html.replace(new RegExp(salt.join(i)), match); html = html.replace(new RegExp(salt.join(i)), match);
}); });