consider all MS Office files to be binary
This commit is contained in:
parent
46ca147560
commit
17df162e7b
1 changed files with 1 additions and 1 deletions
|
@ -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