sup - show html mails inline
This commit is contained in:
parent
b4efa29b84
commit
25dc131d44
|
@ -0,0 +1,7 @@
|
|||
require 'shellwords'
|
||||
unless sibling_types.member? "text/plain"
|
||||
case content_type
|
||||
when "text/html"
|
||||
`/usr/bin/w3m -dump -T #{content_type} #{Shellwords.escape filename}`
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue