From e54be159369cd74bcb0fc96b8ae28bdcb71c35b5 Mon Sep 17 00:00:00 2001 From: rolux Date: Fri, 22 Jun 2012 10:29:09 +0200 Subject: [PATCH] Ox.sanitizeHTML: add test --- source/Ox/js/HTML.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/Ox/js/HTML.js b/source/Ox/js/HTML.js index e7e6bc8c..cd4634a9 100644 --- a/source/Ox/js/HTML.js +++ b/source/Ox/js/HTML.js @@ -470,6 +470,8 @@ 'foo' > Ox.sanitizeHTML('foo') 'foo' + > Ox.sanitizeHTML('&&') + '&&' @*/ Ox.sanitizeHTML = function(html, tags) { var matches = [];