Skip to content

Commit 653890c

Browse files
committed
cleanup
1 parent ba2cab6 commit 653890c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

markdown/extensions/md_in_html.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ def parse_pi(self, i: int) -> int:
281281
def parse_html_declaration(self, i: int) -> int:
282282
if self.at_line_start() or self.intail or self.mdstack:
283283
if self.rawdata[i:i+3] == '<![' and not self.rawdata[i:i+9] == '<![CDATA[':
284-
# We have encountered the bug in #1534 (Python bug gh-77057).
284+
# We have encountered the bug in #1534 (Python bug `gh-77057`).
285285
# Provide an override until we drop support for Python < 3.13.
286286
return self.parse_bogus_comment(i)
287287
# The same override exists in `HTMLExtractor` without the check

markdown/htmlparser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ def parse_pi(self, i: int) -> int:
276276
def parse_html_declaration(self, i: int) -> int:
277277
if self.at_line_start() or self.intail:
278278
if self.rawdata[i:i+3] == '<![' and not self.rawdata[i:i+9] == '<![CDATA[':
279-
# We have encountered the bug in #1534 (Python bug gh-77057).
279+
# We have encountered the bug in #1534 (Python bug `gh-77057`).
280280
# Provide an override until we drop support for Python < 3.13.
281281
return self.parse_bogus_comment(i)
282282
return super().parse_html_declaration(i)

0 commit comments

Comments
 (0)