Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
@app.template_filter('ansi2html') def _ansi2html(text): return flask.Markup(ansi2html.convert(text))
Convert text with ANSI color codes to HTML or to LaTeX