Pygments' PythonLexer eats leading blank lines

Issue #420 resolved
Anonymous created an issue

Steps to reproduce:

  1. go to dumpz.org
  2. click "Python"
  3. enter a blank line, then a line of Python code
  4. click "Submit"
  5. Observe leading blank line has disappeared

(I observed this in PuDB, but dumpz makes for a convenient way of demonstrating the bug.)

Reported by guest

Comments (4)

  1. Log in to comment