diff --git a/gsitegen/generate.py b/gsitegen/generate.py index 6b499f9..f001854 100644 --- a/gsitegen/generate.py +++ b/gsitegen/generate.py @@ -97,7 +97,8 @@ def parseRawHTML(doc, line, htmlstring, rawhtml, id, maxlines): #parse indented raw html elif rawhtml: - if line.startswith(" "): + # 2 spaces or tab + if line.startswith(" ") or line.startswith(" "): htmlstring = htmlstring + line.strip()