Cleanse HTML input
Notice how the input is stripped of unacceptable characters when the element loses focus.