LeaVerou/prism — pull request #385 by haarg (2014-10-14 12:21:36+00:00)
Title: correct calculation for number of lines

A final \n in a

is not rendered by browsers, so we shouldn't
include it in the calculation for the number of lines.

Fixes #382.