Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TAB in heading #248

Closed
step- opened this issue Feb 25, 2024 · 1 comment
Closed

TAB in heading #248

step- opened this issue Feb 25, 2024 · 1 comment
Labels

Comments

@step-
Copy link
Contributor

step- commented Feb 25, 2024

Different treatment of TAB in heading comparing cmark and md2html.
Test cases 10 and 82 from the CommonMark test specification.

10

#	Foo

82

  Foo *bar
baz*	
====

cmark output:

<h1>Foo</h1>
<h1>Foo <em>bar
baz</em></h1>

md2html output:

<h1>	Foo</h1>
<h1>Foo <em>bar
baz</em>	</h1>

Versions:

  • cmark 0.31.0-2-g3337a30
  • md2html release-0.5.1-46-g3848bfb
@mity
Copy link
Owner

mity commented Feb 25, 2024

Fixed in 64f3680.

@mity mity closed this as completed Feb 25, 2024
@mity mity added the bug label Feb 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants