Searched refs:allowElements (Results 1 – 11 of 11) sorted by relevance
/external/owasp/sanitizer/src/tests/org/owasp/html/ |
D | HtmlPolicyBuilderTest.java | 117 .allowElements("h1", "i"))); in testSimpleTagFilter() 134 .allowElements("a") in testLinksAllowed() 152 .allowElements("a") in testExternalLinksAllowed() 171 .allowElements("a") in testLinksWithNofollow() 191 .allowElements("img") in testImagesAllowed() 230 .allowElements("h1", "p", "div") in testElementTransforming() 231 .allowElements( in testElementTransforming() 256 .allowElements("img") in testAllowUrlProtocols() 267 .allowElements("a") in testPossibleFalloutFromIssue5() 280 .allowElements("select", "option"), in testTextInOption()
|
D | SanitizersTest.java | 100 .allowElements("a") in testAndIntersects() 198 .allowElements("a") in testExplicitlyAllowedProtocolsAreCaseInsensitive() 236 .allowElements("table", "tbody", "thead", "tr", "td", "th") in testIssue9StylesInTables() 269 .allowElements("span", "div", "textarea") in testSkipIfEmptyUnionsProperly()
|
D | HtmlPolicyBuilderFuzzerTest.java | 60 .allowElements("a", "b", "xmp", "pre")
|
D | HtmlSanitizerTest.java | 355 .allowElements( in sanitize()
|
D | Benchmark.java | 189 .allowElements("a") in sanitizeUsingPolicyBuilder()
|
D | AntiSamyTest.java | 71 .allowElements( in makePolicy()
|
/external/owasp/sanitizer/src/main/org/owasp/html/ |
D | Sanitizers.java | 78 .allowStandardUrlProtocols().allowElements("a") 104 .allowUrlProtocols("http", "https").allowElements("img")
|
D | HtmlPolicyBuilder.java | 180 public HtmlPolicyBuilder allowElements(String... elementNames) { in allowElements() method in HtmlPolicyBuilder 181 return allowElements(ElementPolicy.IDENTITY_ELEMENT_POLICY, elementNames); in allowElements() 190 return allowElements(ElementPolicy.REJECT_ALL_ELEMENT_POLICY, elementNames); in disallowElements() 199 public HtmlPolicyBuilder allowElements( in allowElements() method in HtmlPolicyBuilder 223 return allowElements( in allowCommonInlineFormattingElements() 232 return allowElements( in allowCommonBlockElements()
|
/external/owasp/sanitizer/src/main/org/owasp/html/examples/ |
D | SlashdotPolicyExample.java | 84 .allowElements( 89 .allowElements("quote", "ecode")
|
D | UrlTextExample.java | 126 .allowElements( in run()
|
D | EbayPolicyExample.java | 199 .allowElements(
|