Class: Premailer
- Inherits:
-
Object
- Object
- Premailer
- Defined in:
- lib/workarea/ext/freedom_patches/premailer.rb
Instance Method Summary collapse
Instance Method Details
#convert_to_text(html, line_length = 65, from_charset = 'UTF-8') ⇒ Object
2 3 4 5 |
# File 'lib/workarea/ext/freedom_patches/premailer.rb', line 2 def convert_to_text(html, line_length = 65, from_charset = 'UTF-8') html.gsub!(/<script.*script>/m, '') super(html, line_length, from_charset) end |