Filter language output on template render to avoid possible XSS Vulnerability