mirror of
https://github.com/middleman/middleman.git
synced 2022-11-09 12:20:27 -05:00
Merge pull request #478 from rolftimmermans/charset-fix
Change the default character encoding to 'utf-8', with a dash
This commit is contained in:
commit
f81b6c7c40
1 changed files with 2 additions and 2 deletions
|
@ -17,8 +17,8 @@ module Middleman
|
||||||
::Rack::Mime::MIME_TYPES['.htc'] = 'text/x-component'
|
::Rack::Mime::MIME_TYPES['.htc'] = 'text/x-component'
|
||||||
|
|
||||||
# Let's serve all HTML as UTF-8
|
# Let's serve all HTML as UTF-8
|
||||||
::Rack::Mime::MIME_TYPES['.html'] = 'text/html;charset=utf8'
|
::Rack::Mime::MIME_TYPES['.html'] = 'text/html; charset=utf-8'
|
||||||
::Rack::Mime::MIME_TYPES['.htm'] = 'text/html;charset=utf8'
|
::Rack::Mime::MIME_TYPES['.htm'] = 'text/html; charset=utf-8'
|
||||||
|
|
||||||
app.extend ClassMethods
|
app.extend ClassMethods
|
||||||
app.extend ServerMethods
|
app.extend ServerMethods
|
||||||
|
|
Loading…
Reference in a new issue