We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 07a2568 + 91ba99d commit 8e4cb31Copy full SHA for 8e4cb31
app/views/files/_files.html.erb
@@ -32,6 +32,8 @@
32
<%
33
brush = case File.extname(file.path)
34
when '.txt' then 'plain'
35
+ when '.jsp' then 'html'
36
+ when '.properties' then 'plain'
37
when '' then 'plain'
38
else File.extname(file.path)[1..-1]
39
end
0 commit comments