Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def convert():
latex = request.form.get('latex')
if latex:
return '<p>{}</p>'.format(latex2mathml.convert(latex))
return 'LaTeX code not found!'