mirror of
https://github.com/xoofx/markdig.git
synced 2026-02-09 13:56:56 +00:00
HtmlRender.Render() not equivalent to Markdown.ToHtml() #500
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jo3w4rd on GitHub (Feb 8, 2022).
Are these expected to produce the same results? When using the PipeTables extension,
Render()simply wraps the table cells inptags (without andtable,tbody, etc.).ToHtml()produces the full HTML table, as expected.HtmlRender.Render()never hits a breakpoint in theHtmlTableRender.Write()method, whereasToHtml()does. Am I missing a step for setting up the renderer object?(For context, I am exploring writing a different renderer.)
ToHTML()output (testStringA)Render()(testStringB):Input markdown: