html_safe fix for tags and searches tabs on stats page.