Escape data from HTML parser

This commit is contained in:
Fierelier 2021-03-25 13:14:37 +01:00
parent 957909039d
commit 5e2f94678c

View File

@ -52,7 +52,7 @@ class browserDoc(QTextBrowser):
if len(self.tagDir) > 0:
curTag = self.tagDir[-1]
if curTag in self.blackList: return
self.output += data
self.output += html.escape(data)
def cRenderHtml(self,htm):
parser = self.cHtmlParser()