diff --git a/ox/html.py b/ox/html.py index d63d529..d69c2df 100644 --- a/ox/html.py +++ b/ox/html.py @@ -205,15 +205,15 @@ def sanitize_html(html, tags=None, global_attributes=[]): >>> sanitize_html('foo') u'foo' >>> sanitize_html('foo') - u'<a href="javascript:alert()">foo' + u'<a href="javascript:alert()">foo</a>' >>> sanitize_html('[http://foo.com foo]') u'foo' >>> sanitize_html('