MCPcopy Create free account
hub / github.com/Python-Markdown/markdown / fakeSerializer

Method fakeSerializer

tests/test_apis.py:633–635  ·  view source on GitHub ↗
(elem)

Source from the content-addressed store, hash-verified

631 def buildExtension(self):
632 """ Build an extension which registers `fakeSerializer`. """
633 def fakeSerializer(elem):
634 # Ignore input and return hard-coded output
635 return '<div><p>foo</p></div>'
636
637 class registerFakeSerializer(markdown.extensions.Extension):
638 def extendMarkdown(self, md):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected