cuvner icon indicating copy to clipboard operation
cuvner copied to clipboard

off-by-something errors

Open meejah opened this issue 7 years ago • 0 comments

It turns out there are two options to the Pygments lexers that must be set to False or it will silently drop leading whitespace-lines.

Also, since we "do Pygments lexer stuff" in many places, this should be re-factored to some kind of utility method.

The important options are lexer.stripall = False and lexer.stripnl = False.

meejah avatar Jun 07 '17 20:06 meejah