Pygmentize causing high CPU indefinitely


Observed Behavior:
On a diff with a .sh file (bash script) everytime the diff is loaded a bunch of pygmentize processes are started and peg the CPU indefinitely.

Expected Behavior:
Not sure where the parsing bug is, but there should definitely be a cap on how long and how resource-intensive pygmentize should run.

Phabricator Version:
52600a415159595526d48bf1d8de4887f7840fad (Fri, Jun 15) (branched from a7c681b54997b849c46054571fa2d0071c97fa32 on origin)

Reproduction Steps:
Upload a diff on a .sh file. I can supply the file privately if needed for debugging.