Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 4 additions & 25 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,29 +1,8 @@
HTMLawed is ...
===============
This is a fork of [kesar/HTMLawed](https://github.com/kesar/HTMLawed) mainly to be able to handle changes faster than in upstream. And we contribute back to the upstream from time to time.

... a single-file, 45 kb PHP script that makes input text more secure, HTML standards-compliant, and
People from [selfoss](https://selfoss.aditu.de/) & [wallabag](https://www.wallabag.org/en) maintain it and improve it.

> HTMLawed is a single-file, 45 kb PHP script that makes input text more secure, HTML standards-compliant, and
suitable in general from the viewpoint of a web-page administrator, for use in the body of HTML, XHTML
or XML documents. A simple HTMLTidy alternative, the htmLawed filter, processor, purifier, sanitizer,
beautifier, etc., is highly customizable.

It ensures that HTML tags are balanced and properly nested tags, neutralizes code that may be used
for cross-site scripting (XSS) attacks, limits allowed HTML elements, attributes, or URL protocols,
tidies the code, and so forth.

As such is may serve as an alternative to [HTMLtidy](http://en.wikipedia.org/wiki/HTML_Tidy) in a
sanitation context.


This repository is ...
======================

... a derivative, which closely tracks [the original](http://www.bioinformatics.org/phplabware/internal_utilities/htmLawed/)


Links
=====

* The Original: http://www.bioinformatics.org/phplabware/internal_utilities/htmLawed/
* The SF site where the official Original Releases are available (no cvs/svn/... repository there, though, just releases): http://sourceforge.net/projects/htmlawed/
* HTMLawed against RSnake's XSS attack vectors: http://www.bioinformatics.org/phplabware/internal_utilities/htmLawed/rsnake/RSnakeXSSTest.htm