Remove unnecessary div

This commit is contained in:
Govindas 2022-09-06 13:24:30 +03:00
parent a6446b1aaf
commit f81271097c
1 changed files with 2 additions and 2 deletions

View File

@ -104,10 +104,10 @@ def parseRawHTML(doc, line, htmlstring, rawhtml, id, maxlines):
#if indented html was the last line, this is needed for it to not be ignored
#since this is the end of the file, we will not set rawhtml to False.
if maxlines - id == 1:
doc = doc.div(HTML(htmlstring))
doc = doc(HTML(htmlstring))
else:
rawhtml = False
doc = doc.div(HTML(htmlstring))
doc = doc(HTML(htmlstring))
htmlstring = ""
return rawhtml, doc, htmlstring