Input filter/sanitizer/purifier: htmLawed
Mal wieder was zum testen: htmLawed
htmLawed is a single-file PHP software that makes input text more secure and standard-compliant, and suitable in general from the viewpoint of a web-page administrator, for use in the body of HTML 4, or XHTML 1 or 1.1 documents. It thus is a customizable HTML/XHTML filter, processor, purifier, sanitizer, etc., like the Kses, HTMLPurifier, etc., PHP scripts.
Einige Features:
- proper closure of empty elements like img
- deprecated elements like u can be transformed
- removal of invalid attributes
- deprecated attributes can be transformed
- unique id attribute values can be ensured
- non-numeric, named character entities not in the HTML standard are neutralized
- characters from Microsoft applications like Word that are discouraged in HTML or XML can be replaced with good ones

