Jinja2 html representation in python 3

Exception or error: I am writing a flask powered blog and I want to present my comments saved in XML format to the browser, so I opened the XML file and I read from it. from xml.etree.ElementTree import parse def blue(): with open(‘blogcomment.xml’) as file: doc = parse(file) return ‘\n’.join(“”” <div class=”card”> <span></span> <div class=”content”> …