Filter is a GPL Cart module that adds advanced HTML filters to protect your users against XSS vulnerabilities and automatically correct malformed HTML. Based on the HTML Purifier library.
Installation
This module requires 3-d party library which should be downloaded separately. You have to use Composer to download all the dependencies.
- From your web root directory:
composer require gplcart/filter
. If the module was downloaded and placed intosystem/modules
manually, runcomposer update
to make sure that all 3-d party files are presented in thevendor
directory. - Go to
admin/module/list
end enable the module - Go to
admin/user/role
and grant permissions to edit filter settings - Assign user roles on
admin/module/settings/filter