pygments eats leading blank lines

Issue #305 resolved
Former user created an issue

Pygments will eat blank lines when they are at the beginning of the file. Tested with the html and the text formatters using Pygments-0.9dev_r3897-py2.5

Reported by guest

Comments (2)

  1. gbrandl

    Yes, this is the default behavior. If you do not like it, set the "stripnl" lexer option to False, and no automatic stripping will occur.

  2. Log in to comment