Support tab in raw html parsing

This commit is contained in:
Govindas 2022-09-07 11:56:44 +03:00
parent a841184e4e
commit df3eafb29f

View File

@ -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()