diff --git a/gsitegen/generate.py b/gsitegen/generate.py index 38b924e..3075196 100644 --- a/gsitegen/generate.py +++ b/gsitegen/generate.py @@ -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