OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:sanitize_html
(Results
1 - 2
of
2
) sorted by null
/external/chromium-trace/catapult/third_party/html5lib-python/html5lib/tests/
test_sanitizer.py
28
assert expected ==
sanitize_html
(input)
31
def
sanitize_html
(stream, toxml=None):
function
40
assert '<html:p xmlns:html="http://www.w3.org/1999/xhtml">\U0001d4b5 \U0001d538</html:p>' ==
sanitize_html
("<p>𝒵 𝔸</p>")
44
assert '<html:p xmlns:html="http://www.w3.org/1999/xhtml"><html:a href="/example.com" /></html:p>' ==
sanitize_html
('<p><a href="/example.com"></a></p>')
/external/chromium-trace/catapult/third_party/html5lib-python/html5lib/
sanitizer.py
176
#
sanitize_html
('<script> do_nasty_stuff() </script>')
178
#
sanitize_html
('<a href="javascript: sucker();">Click here for $100</a>')
Completed in 73 milliseconds