GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - ezyang/htmlpurifier: Standards compliant HTML filter written in PHP

BranchesTags
Open more actions menu

Latest commit

 

History

1,741 Commits
1,741 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
art
art
 
 
benchmarks
benchmarks
 
 
configdoc
configdoc
 
 
docs
docs
 
 
extras
extras
 
 
library
library
 
 
maintenance
maintenance
 
 
plugins
plugins
 
 
smoketests
smoketests
 
 
tests
tests
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
CREDITS
CREDITS
 
 
Dockerfile
Dockerfile
 
 
Doxyfile
Doxyfile
 
 
INSTALL
INSTALL
 
 
INSTALL.fr.utf8
INSTALL.fr.utf8
 
 
LICENSE
LICENSE
 
 
NEWS
NEWS
 
 
README.md
README.md
 
 
TODO
TODO
 
 
VERSION
VERSION
 
 
WYSIWYG
WYSIWYG
 
 
composer.json
composer.json
 
 
docker-compose.yaml
docker-compose.yaml
 
 
package.php
package.php
 
 
phpdoc.ini
phpdoc.ini
 
 
release.config.js
release.config.js
 
 
test-settings.sample.php
test-settings.sample.php
 
 
update-for-release
update-for-release
 
 

Repository files navigation

HTML Purifier Build Status

HTML Purifier is an HTML filtering solution that uses a unique combination of robust whitelists and aggressive parsing to ensure that not only are XSS attacks thwarted, but the resulting HTML is standards compliant.

HTML Purifier is oriented towards richly formatted documents from untrusted sources that require CSS and a full tag-set. This library can be configured to accept a more restrictive set of tags, but it won't be as efficient as more bare-bones parsers. It will, however, do the job right, which may be more important.

Places to go:

  • See INSTALL for a quick installation guide
  • See docs/ for developer-oriented documentation, code examples and an in-depth installation guide.
  • See WYSIWYG for information on editors like TinyMCE and FCKeditor

HTML Purifier can be found on the web at: http://htmlpurifier.org/

Installation

Package available on Composer.

If you're using Composer to manage dependencies, you can use

$ composer require ezyang/htmlpurifier

About

Standards compliant HTML filter written in PHP

htmlpurifier.org

Resources

Readme
LGPL-2.1 license
Activity

Stars

3.4k stars

Watchers

56 watching

Forks

364 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.