##// END OF EJS Templates
files: ensure we don't parse any content on binary files.
dan -
r3898:09f83000 default
parent child Browse files
Show More
@@ -671,7 +671,7 b' class RepoFilesView(RepoAppView):'
671 671
672 672 c.file_size_too_big = c.file.size > c.visual.cut_off_limit_file
673 673
674 if not c.file_size_too_big:
674 if not (c.file_size_too_big or c.file.is_binary):
675 675 if c.annotate: # annotation has precedence over renderer
676 676 c.annotated_lines = filenode_as_annotated_lines_tokens(
677 677 c.file
General Comments 0
You need to be logged in to leave comments. Login now