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

Method handle_decl

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

Source from the content-addressed store, hash-verified

79 self.output += '<!--' + data + '-->'
80 self.last = "comment"
81 def handle_decl(self, data):
82 self.output += '<!' + data + '>'
83 self.last = "decl"
84 def unknown_decl(self, data):
85 self.output += '<!' + data + '>'
86 self.last = "decl"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected