Compare commits

...

2 Commits

Author SHA1 Message Date
Fierelier 5e2f94678c Escape data from HTML parser 2021-03-25 13:14:37 +01:00
Fierelier 957909039d Remove unnecessary import 2021-03-25 13:14:00 +01:00
2 changed files with 1 additions and 4 deletions

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

View File

@ -1,9 +1,6 @@
global urllib
import urllib.request
global html
import html
global downloadPage
def downloadPage(window,downloadId,url,headers = False):
global browserWindowsLock