syntaxhighlighter / syntaxhighlighter

SyntaxHighlighter is a fully functional self-contained code syntax highlighter developed in JavaScript.
MIT License
5.33k stars 1.27k forks source link

Renders with spaces between lines #9

Closed yaroslavvb closed 11 years ago

yaroslavvb commented 13 years ago

I tried both script and pre class methods, and I get empty lines between my lines

For instance this

tar -xf package.tar
cd cde-package/cde-root/temp
../../cde-exec python -c "from scipy import *; print ones(15)"

shows as

1  tar -xf package.tar
2
3  cd cde-package/cde-root/temp
4
5 ../../cde-exec python -c "from scipy import *; print ones(15)"

http://yaroslavvb.blogspot.com/2011/08/making-self-contained-unix-programs.html

alexgorbatchev commented 11 years ago

Did you figure this out? Seems like your pre tags use <br> for new lines... i don't remember what behavior it would cause.