Handles parsing errors in wp_kses_hair().
The general plan is to remove everything to and including some whitespace, but it deals with quotes and apostrophes as well.
<?php wp_kses_html_error( $string ) ?>
Since: 1.0.0
wp_kses_html_error() is located in wp-includes/kses.php
.