Add a workaround for getting tabs through the html parsing and setHtml function in QTextBrowser
This commit is contained in:
+1
-1
@@ -77,7 +77,7 @@ class ToHtml(Tokenizer):
|
||||
self.doKeywords = True
|
||||
self.doComments = doComments
|
||||
self.doSynopsis = doSynopsis
|
||||
self.repDict["\t"] = " "*8
|
||||
self.repDict["\t"] = r"!!tab!!" # The viewer replaces these
|
||||
self._buildRegEx()
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user