Remove unnecessary div
This commit is contained in:
parent
a6446b1aaf
commit
f81271097c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user