From 7939d1bcbd2fbc1d499254503ab9e4a9df0bdd0c Mon Sep 17 00:00:00 2001 From: Graham Knop Date: Sun, 3 Jun 2018 17:09:25 +0200 Subject: [PATCH] Don't hide pod in source view if there is only a small amount of code --- root/source.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root/source.html b/root/source.html index 361d4f0489..dbb8b9c4bc 100644 --- a/root/source.html +++ b/root/source.html @@ -45,7 +45,7 @@
<% IF !file.binary %> -
" data-pod-lines="<%
+
" data-pod-lines="<%
   file.pod_lines.map(->(lines){ lines.0+1 _ "-" _ (lines.0+lines.1) }).join(', ')
 %>"><% source %>
<% ELSE %>