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
|
||||
when mime.start_with?('text/')
|
||||
true
|
||||
when mime.include?('xml')
|
||||
when mime.include?('xml') && !mime.include?('officedocument')
|
||||
true
|
||||
when mime.include?('json')
|
||||
true
|
||||
|
|
Loading…
Reference in a new issue