Add XSS filter to title filter; pass to drupal_set_title with PASS_THROUGH.