Skip to content

Commit 7e5a5d0

Browse files
committed
docs: remove redundant comments
1 parent 1dfc9ee commit 7e5a5d0

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

markdownify/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,6 @@ def process_tag(self, node, convert_as_inline, children_only=False):
179179
next_text_strip = next_text.lstrip('\n')
180180
newlines_right = len(next_text) - len(next_text_strip)
181181
newlines = '\n' * max(newlines_left, newlines_right)
182-
# Modify how we add the new text
183182
if text_parts:
184183
text_parts[-1] = text_strip
185184
text_parts.append(newlines + next_text_strip)
@@ -191,7 +190,6 @@ def process_tag(self, node, convert_as_inline, children_only=False):
191190
text_parts_str = ''.join(text_parts)
192191
text_parts = [convert_fn(node, text_parts_str, convert_as_inline)]
193192

194-
# Return the joined text parts
195193
return ''.join(text_parts)
196194

197195
def process_text(self, el):

0 commit comments

Comments
 (0)