Extra line breaks in pygments syntax highlighting

When using pygments highlighting there are extra line breaks added to each line.

I found this closed issue on jekyll github: https://github.com/jekyll/jekyll/issues/12

but I’m still seeing the issue using the latest version of jekyll.

Any one else got this issue? is overriding the css the best solution for this?

Have you tried switching to Rouge? It replaced Pygments as the default awhile back.