htmlawed/htmlawed

htmLawed - Process text with HTML markup to make it more compliant with HTML standards and administrative policies

Installs: 331 490

Dependents: 6

Suggesters: 1

Security: 0

Stars: 30

Watchers: 4

Forks: 15

Open Issues: 3

Language:HTML

1.1.22 2016-08-27 18:53 UTC

This package is auto-updated.

Last update: 2021-04-11 06:37:50 UTC


README

... 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 in a sanitation context.

This repository is ...

... a derivative, which closely tracks the original

Links