bradyvercher / gistpress

WordPress plugin to add Gist oEmbed and shortcode support with caching.
GNU General Public License v2.0
143 stars 28 forks source link

lines_start attribute causes extra line number to appear #21

Closed GaryJones closed 11 years ago

GaryJones commented 11 years ago

Compare [gist id=3207635 show_meta=0] and [gist id=3207635 show_meta=0 lines_start=1] - the latter has four line numbers, even though there are only three lines of code. Extending this to something like lines_start=583 means that an extra line still appears as well.

GaryJones commented 11 years ago

Fixed in https://github.com/bradyvercher/wp-blazer-six-gist-oembed/commit/501b4d74cfa0e2f375767464315f9a4f0a266208.