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

Method handle_comment

test/normalize.py:78–80  ·  view source on GitHub ↗
(self, data)

Source from the content-addressed store, hash-verified

76 self.last_tag = tag
77 self.last = "endtag"
78 def handle_comment(self, data):
79 self.output += '<!--' + data + '-->'
80 self.last = "comment"
81 def handle_decl(self, data):
82 self.output += '<!' + data + '>'
83 self.last = "decl"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected