Merge pull request #1741 from jfeaver/fix/msoffice-files-as-binary

consider all MS Office files to be binary
This commit is contained in:
Thomas Reynolds 2016-01-10 16:30:20 -08:00
commit 4243676073

View file

@ -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