Skip to content

Commit 65e3194

Browse files
committed
Fix missing return
1 parent b6be2cd commit 65e3194

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎markdown/extensions/md_in_html.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,7 @@ def parse_html_declaration(self, i: int) -> int:
287287
if result == -1:
288288
self.handle_data(self.rawdata[i:i + 1])
289289
return i + 1
290+
return result
290291
# The same override exists in `HTMLExtractor` without the check
291292
# for `mdstack`. Therefore, use parent of `HTMLExtractor` instead.
292293
return super(HTMLExtractor, self).parse_html_declaration(i)

0 commit comments

Comments
 (0)