Properly export tabs to text and html

This commit is contained in:
Veronica K. B. Olsen
2019-11-01 17:13:47 +01:00
parent c4e090b5eb
commit 36ce75e937
6 changed files with 30 additions and 21 deletions
+4 -3
View File
@@ -41,9 +41,10 @@ class ToHtml(Tokenizer):
Tokenizer.doAutoReplace(self)
repDict = {
"<" : "&lt;",
">" : "&gt;",
"&" : "&amp;",
"<" : "&lt;",
">" : "&gt;",
"&" : "&amp;",
"\t" : "&emsp;",
nwUnicode.U_ENDASH : nwUnicode.H_ENDASH,
nwUnicode.U_EMDASH : nwUnicode.H_EMDASH,
nwUnicode.U_HELLIP : nwUnicode.H_HELLIP,