mirror of
https://github.com/xoofx/markdig.git
synced 2026-02-04 05:44:50 +00:00
DefinitionList doesn't respect plain text output #163
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 @jerone on GitHub (Nov 23, 2017).
It appears that the DefinitionListExtension doesn't respect the
EnableHtmlForInlineproperty for plain text output and just renders the HTML tags.If anyone is interested I updated the
HtmlDefinitionListRendererto support plain text output, you can see it below...Click here for the new HtmlDefinitionListRenderer...
@xoofx commented on GitHub (Nov 23, 2017):
Likely, the proper handling of EnableHtmlForInline was mainly done for core CommonMark, as it is required there. But for extensions, didn't always did it. So just send a PR instead and I will merge it, thanks!
@jerone commented on GitHub (Nov 23, 2017):
Are there any specs for plain text output? Right now I put the definition description directly after the definition term (separated by a space). And between multiple definitions I added a single new line.
@xoofx commented on GitHub (Nov 23, 2017):
Yeah, as it is an extension, there are no such things. So whatever you feel is more relevant