MCPcopy Create free account
hub / github.com/VectifyAI/OpenKB / test_render_preserves_html_block

Function test_render_preserves_html_block

tests/test_markdown_renderer.py:25–31  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23
24
25def test_render_preserves_html_block():
26 rendered = render("<details>\n<summary>More</summary>\nHidden text\n</details>")
27
28 assert isinstance(rendered, Group)
29 assert _group_text(rendered) == [
30 "<details>\n<summary>More</summary>\nHidden text\n</details>",
31 ]
32
33
34def test_render_keeps_html_block_between_paragraphs():

Callers

nothing calls this directly

Calls 2

renderFunction · 0.90
_group_textFunction · 0.85

Tested by

no test coverage detected