Fix validation for disallowed HTML https://drupal.org/comment/4760426#comment-4760426