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

Method fakeSerializer

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

Source from the content-addressed store, hash-verified

655 def buildExtension(self):
656 """ Build an extension which registers `fakeSerializer`. """
657 def fakeSerializer(elem):
658 # Ignore input and return hard-coded output
659 return '<div><p>foo</p></div>'
660
661 class registerFakeSerializer(markdown.extensions.Extension):
662 def extendMarkdown(self, md):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected