def get_html(xml_file: str) -> str:
"""Return result html file text"""
result_html = ""
tags = list()
margin = ""
for line in xml_file.split("\n"):
if line.find("<") > -1 and line.find("</") == -1:
result_html += margin + "<b>" + line[line.find("<") + 1: line.find(
">")] + "</b><br>\n"
tags.append(line[line.find("<") + 1: line.find(">")])
margin += "-"
elif line.find("</") > line.find("<") > -1:
result_html += margin + "<b>" + line[line.find("<") + 1: line.find(
">")] + "</b><br>\n"
result_html += margin + "-" + line[line.find(">") + 1: line.find(
"</")] + "<br>\n"
elif line.find("</") > -1:
margin = margin[0:-1]
else:
result_html += margin + "-" + line + "<br>\n"
return result_html