Merge pull request #1741 from jfeaver/fix/msoffice-files-as-binary
consider all MS Office files to be binary
This commit is contained in:
commit
4243676073
|
@ -366,7 +366,7 @@ module Middleman
|
||||||
case
|
case
|
||||||
when mime.start_with?('text/')
|
when mime.start_with?('text/')
|
||||||
true
|
true
|
||||||
when mime.include?('xml')
|
when mime.include?('xml') && !mime.include?('officedocument')
|
||||||
true
|
true
|
||||||
when mime.include?('json')
|
when mime.include?('json')
|
||||||
true
|
true
|
||||||
|
|
Loading…
Reference in a new issue