MCPcopy Create free account
hub / github.com/commonmark/cmark / handle_startendtag

Method handle_startendtag

test/normalize.py:73–77  ·  view source on GitHub ↗

Ignore closing tag for self-closing

(self, tag, attrs)

Source from the content-addressed store, hash-verified

71 self.last_tag = tag
72 self.last = "starttag"
73 def handle_startendtag(self, tag, attrs):
74 """Ignore closing tag for self-closing """
75 self.handle_starttag(tag, attrs)
76 self.last_tag = tag
77 self.last = "endtag"
78 def handle_comment(self, data):
79 self.output += '<!--' + data + '-->'
80 self.last = "comment"

Callers

nothing calls this directly

Calls 1

handle_starttagMethod · 0.95

Tested by

no test coverage detected