• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

library/15-Sep-2023-32,86119,252

CHANGELOG.mdD14-Sep-20231.2 KiB73

CREDITSD14-Sep-2023341 106

LICENSED14-Sep-202325.8 KiB505419

README.mdD14-Sep-20231.2 KiB3020

VERSIOND14-Sep-20236 11

composer.jsonD14-Sep-20231.3 KiB4544

README.md

1HTML Purifier [![Build Status](https://github.com/ezyang/htmlpurifier/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/ezyang/htmlpurifier/actions/workflows/ci.yml)
2=============
3
4HTML Purifier is an HTML filtering solution that uses a unique combination
5of robust whitelists and aggressive parsing to ensure that not only are
6XSS attacks thwarted, but the resulting HTML is standards compliant.
7
8HTML Purifier is oriented towards richly formatted documents from
9untrusted sources that require CSS and a full tag-set.  This library can
10be configured to accept a more restrictive set of tags, but it won't be
11as efficient as more bare-bones parsers. It will, however, do the job
12right, which may be more important.
13
14Places to go:
15
16* See INSTALL for a quick installation guide
17* See docs/ for developer-oriented documentation, code examples and
18  an in-depth installation guide.
19* See WYSIWYG for information on editors like TinyMCE and FCKeditor
20
21HTML Purifier can be found on the web at: [http://htmlpurifier.org/](http://htmlpurifier.org/)
22
23## Installation
24
25Package available on [Composer](https://packagist.org/packages/ezyang/htmlpurifier).
26
27If you're using Composer to manage dependencies, you can use
28
29    $ composer require ezyang/htmlpurifier
30