From a9ac3a2aa1cd6733d5ca0b6e7d5f4d8a8cedc935 Mon Sep 17 00:00:00 2001 From: "Veronica K. B. Olsen" <1619840+vkbo@users.noreply.github.com> Date: Tue, 18 Aug 2020 00:29:18 +0200 Subject: [PATCH] Removed commented out code --- nw/core/tohtml.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/nw/core/tohtml.py b/nw/core/tohtml.py index bfb60984..dadf55bd 100644 --- a/nw/core/tohtml.py +++ b/nw/core/tohtml.py @@ -45,10 +45,9 @@ class ToHtml(Tokenizer): self.cssStyles = True self.repDict = { - "<" : "<", - ">" : ">", - "&" : "&", - # "\t" : "!!tab!!", # " "*2, + "<" : "<", + ">" : ">", + "&" : "&", nwUnicode.U_ENDASH : nwUnicode.H_ENDASH, nwUnicode.U_EMDASH : nwUnicode.H_EMDASH, nwUnicode.U_HELLIP : nwUnicode.H_HELLIP, @@ -77,7 +76,6 @@ class ToHtml(Tokenizer): self.doKeywords = True self.doComments = doComments self.doSynopsis = doSynopsis - # self.repDict["\t"] = r"!!tab!!" # The viewer replaces these self._buildRegEx() return