Home
last modified time | relevance | path

Searched refs:allowElements (Results 1 – 11 of 11) sorted by relevance

/external/owasp/sanitizer/src/tests/org/owasp/html/
DHtmlPolicyBuilderTest.java117 .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()
DSanitizersTest.java100 .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()
DHtmlPolicyBuilderFuzzerTest.java60 .allowElements("a", "b", "xmp", "pre")
DHtmlSanitizerTest.java355 .allowElements( in sanitize()
DBenchmark.java189 .allowElements("a") in sanitizeUsingPolicyBuilder()
DAntiSamyTest.java71 .allowElements( in makePolicy()
/external/owasp/sanitizer/src/main/org/owasp/html/
DSanitizers.java78 .allowStandardUrlProtocols().allowElements("a")
104 .allowUrlProtocols("http", "https").allowElements("img")
DHtmlPolicyBuilder.java180 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/
DSlashdotPolicyExample.java84 .allowElements(
89 .allowElements("quote", "ecode")
DUrlTextExample.java126 .allowElements( in run()
DEbayPolicyExample.java199 .allowElements(