From 707899b61ce3ae691af884cc4ae24983eb7d2c6b Mon Sep 17 00:00:00 2001 From: rolux Date: Sun, 27 May 2012 13:42:55 +0200 Subject: [PATCH] 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 cd409057..852a5394 100644 --- a/source/Ox/js/HTML.js +++ b/source/Ox/js/HTML.js @@ -347,6 +347,8 @@ 'foo' > Ox.sanitizeHTML('foo') '<a href="javascript:alert()">foo' + > Ox.sanitizeHTML('foo') + '<a href="foo">foo' > Ox.sanitizeHTML('foo') 'foo' > Ox.sanitizeHTML('[http://foo.com foo]')