aboutsummaryrefslogtreecommitdiff
path: root/views/commit.html
diff options
context:
space:
mode:
Diffstat (limited to 'views/commit.html')
-rw-r--r--views/commit.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/commit.html b/views/commit.html
index 9a9e99d..bc3119c 100644
--- a/views/commit.html
+++ b/views/commit.html
@@ -55,7 +55,7 @@
<hr/>
-% if has_colorizer():
+% if can_colorize(c.diff.body):
{{!colorize_diff(c.diff.body)}}
% else:
<pre class="diff-body">