Issue
- We configured AntiSamy to santize Web Content articles.
- We would like to understand how AntiSamy works and what parts are expected to be removed in Web Content articles.
Environment
- DXP 7.0+
Resolution
In the article How to configure validation directives in AntiSamy, you can find the following:
AntiSamy validation directives are defined in the file
/META-INF/resources/sanitizer-configuration.xml
The sanitizer-configuration.xml can be found on GitHub. So please check the configuration, it should tell you more details about what gets sanitized.
A way to customize AntiSamy: example.
Additional Information
Subscriber Exclusive Content
A Liferay Enterprise Subscription provides access to over 1,500 articles that include best practices, troubleshooting, and other valuable solutions. Sign in for full access.
Sign In