Skip to content

compatibility: initial tab replaced by four spaces #247

@step-

Description

@step-

Opportunity to improve output compatibility: md2html replaces an initial TAB with four spaces while cmark doesn't.

test subject:

<!--
	x
-->
```
<!--
	y
-->
```
	z

expected output (cmark output)

<!--
	x
-->
<pre><code>&lt;!--
	y
--&gt;
</code></pre>
<pre><code>z
</code></pre>

actual output: (md2html output)

<!--
    x
-->
<pre><code>&lt;!--
    y
--&gt;
</code></pre>
<pre><code>z
</code></pre>

Versions tested:

  • md2html release-0.5.1-46-g3848bfb
  • cmark 0.31.0-2-g3337a30

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions