add test
This commit is contained in:
parent
ccae6e4997
commit
707899b61c
1 changed files with 2 additions and 0 deletions
|
@ -347,6 +347,8 @@
|
|||
'<a href="http://foo.com">foo</a>'
|
||||
> Ox.sanitizeHTML('<a href="javascript:alert()">foo</a>')
|
||||
'<a href="javascript:alert()">foo'
|
||||
> Ox.sanitizeHTML('<a href="foo">foo</a>')
|
||||
'<a href="foo">foo'
|
||||
> Ox.sanitizeHTML('<a href="/foo">foo</a>')
|
||||
'<a href="/foo">foo</a>'
|
||||
> Ox.sanitizeHTML('[http://foo.com foo]')
|
||||
|
|
Loading…
Reference in a new issue