About

Kses is an HTML/XHTML filter written in PHP to discharge unwanted HTML elements, attributes and values.

This function makes sure that only the allowed HTML element names, attribute names and attribute values plus only sane HTML entities will occur in $string.

Introduction, tutorial and documentation:

history | show excerpt | excerpt history