Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9ead892

Browse files
committed
Fixing automatic type selection for html files.
1 parent185c422 commit9ead892

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎lib/coderay/helpers/file_type.rb‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ def shebang filename
9090
'gvy'=>:groovy,
9191
'h'=>:c,
9292
'haml'=>:haml,
93-
'htm'=>:page,
94-
'html'=>:page,
93+
'htm'=>:html,
94+
'html'=>:html,
9595
'html.erb'=>:erb,
9696
'java'=>:java,
9797
'js'=>:java_script,
@@ -120,7 +120,7 @@ def shebang filename
120120
'sql'=>:sql,
121121
# 'ss' => :scheme,
122122
'tmproj'=>:xml,
123-
'xhtml'=>:page,
123+
'xhtml'=>:html,
124124
'xml'=>:xml,
125125
'yaml'=>:yaml,
126126
'yml'=>:yaml,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp