Fixes XSS vulnerability in filters