Skip to content

Commit d74efde

Browse files
committed
Remove copy of function that we already inherit
1 parent 7e4a8f7 commit d74efde

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

markdown/htmlparser.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -227,14 +227,6 @@ def handle_starttag(self, tag: str, attrs: Sequence[tuple[str, str]]):
227227
# This is presumably a standalone tag in a code span (see #1036).
228228
self.clear_cdata_mode()
229229

230-
def parse_endtag(self, i):
231-
start = self.rawdata[i:i+3]
232-
c = ord(start[-1])
233-
if len(start) < 3 or not (65 <= c <= 90 or 97 <= c <= 122):
234-
self.handle_data(self.rawdata[i:i + 2])
235-
return i + 2
236-
return super().parse_endtag(i)
237-
238230
def handle_endtag(self, tag: str):
239231
text = self.get_endtag_text(tag)
240232

0 commit comments

Comments
 (0)