mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
Add text media types are plain
This commit is contained in:
@@ -9,6 +9,8 @@ module MIME
|
||||
def binary?
|
||||
if defined? @binary
|
||||
@binary
|
||||
elsif media_type == 'text'
|
||||
false
|
||||
else
|
||||
@encoding == 'base64'
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user