Make colorize safer:

- don't try to colorize blobs that have a high ratio of
    long lines -- these are most likely minified files or something else
    strange that will blow up Pygments.rb
  - re github/github#3938
This commit is contained in:
Rob Sanheim
2012-05-21 11:31:21 -05:00
parent 7a84cfc24e
commit 1c7b8ebe71
3 changed files with 55 additions and 3 deletions

24
test/fixtures/steelseries-min.js vendored Normal file

File diff suppressed because one or more lines are too long