mirror of
https://github.com/xoofx/markdig.git
synced 2026-02-11 13:54:50 +00:00
Error in Markdown horizontal rule #581
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 @NUnitTester on GitHub (Nov 29, 2022).
"Zeile 1\r\n---\r\nZeile 2"give wrong result
"<h2 id="zeile-1">Zeile 1</h2>\n<p>Zeile 2</p>\n"instead of
"<p>Zeile 1</p>\n<hr />\n<p>Zeile 2</p>\n"This works
"Zeile 1\r\n- - - - - - - -\r\nZeile 2"Example copied from here
stackabuse
@xoofx commented on GitHub (Nov 30, 2022):
As per the spec for setext, this is expected (it is requiring a blank-line h1 otherwise it is interpreted as a setext heading). See also that all CommonMark compliant engine are producing the same result
@NUnitTester commented on GitHub (Dec 1, 2022):
Thanks for clearification