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.27 lib/workarea/ext/freedom_patches/premailer.rb
workarea-core-3.5.26 lib/workarea/ext/freedom_patches/premailer.rb
workarea-core-3.5.25 lib/workarea/ext/freedom_patches/premailer.rb
workarea-core-3.5.23 lib/workarea/ext/freedom_patches/premailer.rb
workarea-core-3.5.22 lib/workarea/ext/freedom_patches/premailer.rb
workarea-core-3.5.21 lib/workarea/ext/freedom_patches/premailer.rb
workarea-core-3.5.20 lib/workarea/ext/freedom_patches/premailer.rb
workarea-core-3.5.19 lib/workarea/ext/freedom_patches/premailer.rb
workarea-core-3.5.18 lib/workarea/ext/freedom_patches/premailer.rb
workarea-core-3.5.17 lib/workarea/ext/freedom_patches/premailer.rb
workarea-core-3.5.16 lib/workarea/ext/freedom_patches/premailer.rb
workarea-core-3.5.15 lib/workarea/ext/freedom_patches/premailer.rb
workarea-core-3.5.14 lib/workarea/ext/freedom_patches/premailer.rb
workarea-core-3.5.13 lib/workarea/ext/freedom_patches/premailer.rb
workarea-core-3.5.12 lib/workarea/ext/freedom_patches/premailer.rb
workarea-core-3.5.11 lib/workarea/ext/freedom_patches/premailer.rb
workarea-core-3.5.10 lib/workarea/ext/freedom_patches/premailer.rb
workarea-core-3.5.9 lib/workarea/ext/freedom_patches/premailer.rb
workarea-core-3.5.8 lib/workarea/ext/freedom_patches/premailer.rb
workarea-core-3.5.7 lib/workarea/ext/freedom_patches/premailer.rb