Knagis/CommonMark.NET

Tabs seem to be unrecognized as whitespace following a list marker

Closed this issue · 1 comments

See:

http://spec.commonmark.org/0.23/#tabs
http://spec.commonmark.org/0.25/#tabs

Both versions state:

...in contexts where indentation is significant for the document’s structure, tabs behave as if they were replaced by spaces with a tab stop of 4 characters.

CommonMark.NET does not render the following:

-→foo
-→bar

as:

<ul>
<li>foo
<li>bar
</ul>

Instead, it renders it as:

<p>
- foo - bar
</p>

Thank you for reporting it. I refreshed the test cases from the latest version of the spec and it also includes new tests that show this problem.

I have added all other changes that the new spec required and will get to the tab issue in a few days as well.