From f81271097c49107e751c380c5ed1de7d15a4a34b Mon Sep 17 00:00:00 2001 From: Govindas Date: Tue, 6 Sep 2022 13:24:30 +0300 Subject: [PATCH] Remove unnecessary div --- gsitegen/generate.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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