OWASP / java-html-sanitizer

Takes third-party HTML and produces HTML that is safe to embed in your web application. Fast and easy to configure.
Other
834 stars 209 forks source link

Sanitizing embedded css classes #268

Open ragcrix opened 2 years ago

ragcrix commented 2 years ago

Hi,

I have a problem with sanitizer. This sanitizer removes embedded css classes in html file after sanitizing.

For example; in html file I have below css classes.

After sanitizing my safe html includes only