Sha256: 74f91fb4e3a74377af02c8ebdbeac7d6bac68b907ad7e8e8b7a285712ed7b457

Contents?: true

Size: 179 Bytes

Versions: 28

Compression:

Stored size: 179 Bytes

Contents

class Premailer
  def convert_to_text(html, line_length = 65, from_charset = 'UTF-8')
    html.gsub!(/<script.*script>/m, '')
    super(html, line_length, from_charset)
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
workarea-core-3.5.6 lib/workarea/ext/freedom_patches/premailer.rb
workarea-core-3.5.5 lib/workarea/ext/freedom_patches/premailer.rb
workarea-core-3.5.4 lib/workarea/ext/freedom_patches/premailer.rb
workarea-core-3.5.3 lib/workarea/ext/freedom_patches/premailer.rb
workarea-core-3.5.2 lib/workarea/ext/freedom_patches/premailer.rb
workarea-core-3.5.1 lib/workarea/ext/freedom_patches/premailer.rb
workarea-core-3.5.0 lib/workarea/ext/freedom_patches/premailer.rb
workarea-core-3.5.0.beta.1 lib/workarea/ext/freedom_patches/premailer.rb