summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Hammond <d.lakehammond@gmail.com>2012-02-23 19:23:57 +1300
committerDoug Hammond <d.lakehammond@gmail.com>2012-02-23 19:23:57 +1300
commit9ead89222c42b0f370fdfaae788bcdeb0e82ae18 (patch)
treee2fdb90d8fa1af1f4ec04bf0410743f1cc26fa00
parent185c4222c4be23cec40b3a91bb8ae481aff398bc (diff)
downloadcoderay-9ead89222c42b0f370fdfaae788bcdeb0e82ae18.tar.gz
Fixing automatic type selection for html files.
-rw-r--r--lib/coderay/helpers/file_type.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/coderay/helpers/file_type.rb b/lib/coderay/helpers/file_type.rb
index 7b90918..637001b 100644
--- a/lib/coderay/helpers/file_type.rb
+++ b/lib/coderay/helpers/file_type.rb
@@ -90,8 +90,8 @@ module CodeRay
'gvy' => :groovy,
'h' => :c,
'haml' => :haml,
- 'htm' => :page,
- 'html' => :page,
+ 'htm' => :html,
+ 'html' => :html,
'html.erb' => :erb,
'java' => :java,
'js' => :java_script,
@@ -120,7 +120,7 @@ module CodeRay
'sql' => :sql,
# 'ss' => :scheme,
'tmproj' => :xml,
- 'xhtml' => :page,
+ 'xhtml' => :html,
'xml' => :xml,
'yaml' => :yaml,
'yml' => :yaml,