jbt / docker

Documentation generator
http://jbt.github.com/docker
MIT License
234 stars 56 forks source link

Trim extraneous whitespace from code sections #42

Closed sirlancelot closed 10 years ago

sirlancelot commented 11 years ago

When using -n to show line numbers, lots of unnecessary (and innacurate) blank lines are shown due to how Docker.prototype.highlight squishes then expands the code.

sirlancelot commented 11 years ago

Please ignore the first commit 23df7c3 I don't know how to delete it. You can probably just cherry-pick the other one and close this.

jbt commented 11 years ago

Ah interesting, I swear I checked to make sure line numbers were correct, but I've probably broken something since. I'll take a look over this and try and get it merged today or tomorrow if I can