Home
last modified time | relevance | path

Searched refs:decodeHtml (Results 1 – 3 of 3) sorted by relevance

/external/owasp/sanitizer/src/tests/org/owasp/html/
DEncodingTest.java45 assertEquals(golden, Encoding.decodeHtml(html)); in testDecodeHtml()
48 assertSame(golden, Encoding.decodeHtml(golden)); in testDecodeHtml()
53 Encoding.decodeHtml("\\\\u000a")); in testDecodeHtml()
56 Encoding.decodeHtml("
")); in testDecodeHtml()
59 Encoding.decodeHtml("
")); in testDecodeHtml()
62 Encoding.decodeHtml("
")); in testDecodeHtml()
65 Encoding.decodeHtml("
")); in testDecodeHtml()
68 Encoding.decodeHtml("𐀀")); in testDecodeHtml()
71 Encoding.decodeHtml("&#xa")); in testDecodeHtml()
74 Encoding.decodeHtml("&#x00ziggy")); in testDecodeHtml()
[all …]
/external/owasp/sanitizer/src/main/org/owasp/html/
DHtmlSanitizer.java139 Encoding.decodeHtml(html.substring(token.start, token.end))); in sanitize()
172 attrs.add(Encoding.decodeHtml(stripQuotes( in sanitize()
DEncoding.java43 static String decodeHtml(String s) { in decodeHtml() method in Encoding