Skip to content

Commit ee36684

Browse files
committed
Inline codeblocks issue #51
2 parents f7ded55 + d0ccc6b commit ee36684

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tkhtmlview/html_parser.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ class StyleTextDecoration:
115115
Tag.DIV,
116116
Tag.P,
117117
Tag.PRE,
118-
Tag.CODE,
118+
#Tag.CODE,
119119
Tag.TABLE,
120120
Tag.TR,
121121
)
@@ -646,7 +646,7 @@ def handle_data(self, data):
646646
data = data.lstrip()
647647

648648
data = data.replace("\n", " ").replace("\t", " ")
649-
data = f"{data} " # FIXME: attaching a space in blind is wrong
649+
data = f"{data}" # FIXME: attaching a space in blind is wrong - SPACE REMOVED
650650
data = self._remove_multi_spaces(data)
651651
if len(self.html_tags) and self.html_tags[-1] in (
652652
HTML.Tag.UL,

0 commit comments

Comments
 (0)