added missing .html_safe