MCPcopy
hub / github.com/isso-comments/isso / render

Method render

isso/html/__init__.py:119–120  ·  view source on GitHub ↗
(self, text)

Source from the content-addressed store, hash-verified

117 self.sanitizer = Sanitizer(allowed_elements, allowed_attributes)
118
119 def render(self, text):
120 return self.sanitizer.sanitize(self.parser.render(text))

Callers 15

test_renderMethod · 0.95
test_renderMethod · 0.95
render_templateFunction · 0.45
PostboxFunction · 0.45
insert_loaderFunction · 0.45
insertFunction · 0.45
newMethod · 0.45
viewMethod · 0.45
editMethod · 0.45
_process_fetched_listMethod · 0.45
previewMethod · 0.45

Calls 1

sanitizeMethod · 0.80

Tested by 11

test_renderMethod · 0.76
test_renderMethod · 0.76
test_markdownMethod · 0.36
test_markdown_pluginsMethod · 0.36
test_code_blocksMethod · 0.36
test_markdownMethod · 0.36
test_markdown_pluginsMethod · 0.36
test_code_blocksMethod · 0.36