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

Inline code does not trim whitespaces surrounding content properly #15

Closed
uranusjr opened this Issue Jul 31, 2014 · 1 comment

Comments

Projects
None yet
2 participants
@uranusjr

According to the Markdown specification:

The backtick delimiters surrounding a code span may include spaces — one after the opening, one before the closing. This allows you to place literal backtick characters at the beginning or end of a code span[.]

Mistune however renders the following markup:

`` ` ``

as

<p><code>` </code></p>

with an extra space at the end of the code span.

lepture added a commit that referenced this issue Jul 31, 2014

@lepture

This comment has been minimized.

Show comment
Hide comment
Owner

lepture commented Jul 31, 2014

@uranusjr fixed in e13a74c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment