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

Escape setext heading underlines #226

Open
olli7 opened this issue Aug 24, 2022 · 0 comments · May be fixed by #227
Open

Escape setext heading underlines #226

olli7 opened this issue Aug 24, 2022 · 0 comments · May be fixed by #227

Comments

@olli7
Copy link

olli7 commented Aug 24, 2022

Version(s) affected

5.1.0

Description

According to https://spec.commonmark.org/0.30/#setext-heading-underline a line containing any number of =s makes the line above it a heading 1.

How to reproduce

HTML:

<p>Foo<br>=<br>Bar</p>

Output:

Foo  
=  
Bar

Expected output:

Foo  
\=  
Bar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants