HTML filtering in Jahia uses a multi-level configuration resolution strategy to determine which rules to apply for a site:
- Site-specific configuration:
org.jahia.modules.htmlfiltering.site-<site key>.ymlfound in any OSGi bundle - Global custom configuration:
org.jahia.modules.htmlfiltering.global.custom.ymlfound in any OSGi bundle - Global default configuration:
org.jahia.modules.htmlfiltering.global.default.ymlprovided by this HTML Filtering bundle
The system tries to find a policy in the order listed above. If a site-specific configuration exists, it will be used. If not, the global custom configuration applies. If neither exists, the system falls back to the global default built-in configuration.
Note: The global default configuration should not be modified as module updates would replace it.
Full documentation for the module can be found in this Jahia Academy page.