Replace filter_xss by Xss::filter.