Skip to content

Commit

Permalink
Inline codeblocks issue #51
Browse files Browse the repository at this point in the history
  • Loading branch information
bauripalash committed Jul 12, 2024
2 parents f7ded55 + d0ccc6b commit ee36684
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tkhtmlview/html_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ class StyleTextDecoration:
Tag.DIV,
Tag.P,
Tag.PRE,
Tag.CODE,
#Tag.CODE,
Tag.TABLE,
Tag.TR,
)
Expand Down Expand Up @@ -646,7 +646,7 @@ def handle_data(self, data):
data = data.lstrip()

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

0 comments on commit ee36684

Please sign in to comment.