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

Bad display for line numbers plugin when the code block is empty #669

Closed
uranusjr opened this issue Aug 15, 2015 · 1 comment
Closed

Bad display for line numbers plugin when the code block is empty #669

uranusjr opened this issue Aug 15, 2015 · 1 comment

Comments

@uranusjr
Copy link
Contributor

The line numbers plugin shows one empty line, even if the code block is empty. And the line number partially overflows the code block (because an empty code block is slightly shorter than one with content).

Example markup:

<pre class="language-none line-numbers"><code></code></pre>

Result:

screen shot 2015-08-15 at 23 14 59

@Golmote
Copy link
Contributor

Golmote commented Aug 15, 2015

Arf! I made a typo in the commit message. ><
Anyway, thanks for reporting!

@Golmote Golmote closed this as completed Aug 15, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants