Skip to content

Commit b905880

Browse files
authored
Make StylingPolicy public
Did not use a builder since having access to StylingPolicy.apply can be very critical
1 parent f729a08 commit b905880

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

owasp-java-html-sanitizer/src/main/java/org/owasp/html/StylingPolicy.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
* ones to reduce the attack-surface.
4343
*/
4444
@TCB
45-
final class StylingPolicy implements JoinableAttributePolicy {
45+
public final class StylingPolicy implements JoinableAttributePolicy {
4646

4747
final CssSchema cssSchema;
4848
final Function<String, String> urlRewriter;

0 commit comments

Comments
 (0)