2017 © Pedro Peláez
 

opus-package htmlpurifier

HTMLPurifier for the Hiraeth Nano-Framework

image

hiraeth/htmlpurifier

HTMLPurifier for the Hiraeth Nano-Framework

  • Tuesday, August 1, 2017
  • by mattsah
  • Repository
  • 1 Watchers
  • 0 Stars
  • 50 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 4 % Grown

The README.md

HTMLPurifier is a robust and highly configurable filter for HTML content to ensure security and cleanliness of user inputted HTML., (*1)

Installation

composer require hiraeth/htmlpurifier

The htmlpurifier.jin configuration will be automatically copied to your config directory via opus., (*2)

Delegates

Operative Class Operative Intefaces Provides
HTMLPurifier Class Only Configuration for common HTMLPurifier settings

Providers

No providers are included in this package., (*3)

Configuration

; The location to store serialized purifier information.  This is essentially a cache.

cache_path = writable/cache/htmlpurifier

; Whether or not we should remove empty elements.  Note that if this is set to true, elements
; containing only non-breaking space characters will also be removed.

remove_empty = true

; Whether or not the HTML we're purifying should be considered trusted.

trusted = false

; Forbidden HTML (attributes, elements, classes)

forbidden = {
    "attributes": [],
    "elements": [],
    "classes": []
}

Usage

See the HTMLPurifier documentation for more information on what how to use the purifier. Additional configuration will be normalized with time. If you have specific requests, please submit an issue or pull request., (*4)

The Versions

01/08 2017

dev-master

9999999-dev

HTMLPurifier for the Hiraeth Nano-Framework

  Sources   Download

MIT

The Requires

 

by Matthew J. Sahagian

01/08 2017

1.0.0

1.0.0.0

HTMLPurifier for the Hiraeth Nano-Framework

  Sources   Download

MIT

The Requires

 

by Matthew J. Sahagian