Bleach

(back to the main page)

An example showing how to use Bleach library to do user input sanitization.

For more information, check out the Bleach README.

Enter some possibly harmful text here, hit send, and see what Bleach does with it.

(Allowed tags: <strong>, <em>)

Some things to try out: