diff options
author | Doug Hammond <d.lakehammond@gmail.com> | 2012-02-23 19:23:57 +1300 |
---|---|---|
committer | Doug Hammond <d.lakehammond@gmail.com> | 2012-02-23 19:23:57 +1300 |
commit | 9ead89222c42b0f370fdfaae788bcdeb0e82ae18 (patch) | |
tree | e2fdb90d8fa1af1f4ec04bf0410743f1cc26fa00 /lib/coderay/helpers | |
parent | 185c4222c4be23cec40b3a91bb8ae481aff398bc (diff) | |
download | coderay-9ead89222c42b0f370fdfaae788bcdeb0e82ae18.tar.gz |
Fixing automatic type selection for html files.
Diffstat (limited to 'lib/coderay/helpers')
-rw-r--r-- | lib/coderay/helpers/file_type.rb | 6 |
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, |