Skip to content

Commit 8e4cb31

Browse files
committed
Merge pull request #144 from jamox/syntax
Fixes error messages for not having syntax highlighter for properties and .jsp files
2 parents 07a2568 + 91ba99d commit 8e4cb31

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/views/files/_files.html.erb

+2
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@
3232
<%
3333
brush = case File.extname(file.path)
3434
when '.txt' then 'plain'
35+
when '.jsp' then 'html'
36+
when '.properties' then 'plain'
3537
when '' then 'plain'
3638
else File.extname(file.path)[1..-1]
3739
end

0 commit comments

Comments
 (0)