1 HtmlPolicyBuilder

Class Ax.owasp.HtmlPolicyBuilder


https://github.com/OWASP/java-html-sanitizer https://github.com/OpenOLAT/OpenOLAT/blob/master/src/main/java/org/olat/core/util/filter/impl/OpenOLATPolicy.java

Constructor Summary

MethodDescription
JSHtmlPolicyBuilder(Consumer<HtmlPolicyBuilderHandler> config)

Method Summary

Modifier and TypeMethodDescription
String sanitize(String html)

Method Detail

JSHtmlPolicyBuilder

 JSHtmlPolicyBuilder(Consumer<HtmlPolicyBuilderHandler> config)
Parameters:
config - 

sanitize

                        String sanitize(String html)
Parameters:
html - 
Returns: