Homec4science

Add back leading empty lines deleted by Pygments

Authored by jungejason <jun.ge.jason@fb.com> on May 20 2011, 05:57.

Description

Add back leading empty lines deleted by Pygments

Summary:
Pygments removes leading empty lines. It's is causing incorrect
rendering of diff, add a command line switch to disable this behavior.

Test Plan:
verified that it works for changesets with or without leading
empty lines.

Reviewed By: tuomaspelkonen
Reviewers: epriestley, tuomaspelkonen
Commenters: epriestley
CC: aran, epriestley, jungejason, tuomaspelkonen
Differential Revision: 317

Details

Committed
jungejason <jun.ge.jason@fb.com>May 20 2011, 20:33
Pushed
aubortMar 17 2017, 12:03
Parents
rPHU71e72f212a24: Minor: stop docblockparser from aggressively matching code blocks beginning…
Branches
Unknown
Tags
Unknown

Event Timeline

jungejason <jun.ge.jason@fb.com> committed rPHU967d1396a7ca: Add back leading empty lines deleted by Pygments (authored by jungejason <jun.ge.jason@fb.com>).May 20 2011, 20:33