/filter

Provides advanced HTML filters based on the HTML Purifier library

Primary LanguagePHPGNU General Public License v3.0GPL-3.0

Build Status Scrutinizer Code Quality

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.

  1. From your web root directory: composer require gplcart/filter. If the module was downloaded and placed into system/modules manually, run composer update to make sure that all 3-d party files are presented in the vendor directory.
  2. Go to admin/module/list end enable the module
  3. Go to admin/user/role and grant permissions to edit filter settings
  4. Assign user roles on admin/module/settings/filter