Add a workaround for getting tabs through the html parsing and setHtml function in QTextBrowser

This commit is contained in:
Veronica K. B. Olsen committed 2020-08-17 22:39:38 +02:00
1 parent 4a706b6f90
commit 1d9cd3ee49
2 files changed
+13 -1

No files matched your search

+1 -1
View File
@@ -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