Ox.sanitizeHTML: add test
This commit is contained in:
parent
0d2204ff19
commit
e54be15936
1 changed files with 2 additions and 0 deletions
|
@ -470,6 +470,8 @@
|
|||
'<b>foo</b>'
|
||||
> Ox.sanitizeHTML('<b>foo</b></b>')
|
||||
'<b>foo</b>'
|
||||
> Ox.sanitizeHTML('&&')
|
||||
'&&'
|
||||
@*/
|
||||
Ox.sanitizeHTML = function(html, tags) {
|
||||
var matches = [];
|
||||
|
|
Loading…
Reference in a new issue