reversemarkdown-net
reversemarkdown-net copied to clipboard
Missing space
I'm going to convert the following HTML to markdown ,my code is as following: `static void Main(string[] args) {
var html = "<h3 data-reset-style=\"true\" data-anchor-id=\"8b5e184d-26f7-4d9a-80e0-bab2cd825457\"><i style=\"font-size: 14pt;\">What we thought:<span> </span></i><span style=\"color: rgb(41, 63, 77); font-size: 14pt; font-weight: normal;\">When we built Pages, we assumed that customers would use them like newsletters to share relevant, continually-updated information with field teams.</span><div style=\"text-align: left;\"><span style=\"line-height: 16px;\"><span><span height=\"18\" width=\"18\"><span></span></span><span></span></span></span></div></h3>";
var config = new ReverseMarkdown.Config
{
// Include the unknown tag completely in the result (default as well)
UnknownTags = Config.UnknownTagsOption.PassThrough,
// generate GitHub flavoured markdown, supported for BR, PRE and table tags
GithubFlavored = true,
// will ignore all comments
RemoveComments = true,
// remove markdown output for links where appropriate
SmartHrefHandling = true
};
var converter = new ReverseMarkdown.Converter(config);
var markdown = converter.Convert(html);
Console.WriteLine(markdown);
}`
Expected result is:
### *What we thought:* When we built Pages, we assumed that customers would use them like newsletters to share relevant, continually-updated information with field teams.
But the real result is:
### *What we thought:*When we built Pages, we assumed that customers would use them like newsletters to share relevant, continually-updated information with field teams.
Issue: After "### What we thought:", missing one space.
I will take a look at the issue and revert.