Sha256: 982940313c930d97b15db97fd9bbda6bead08f48074b6f76ff01dec9bff88e9c

Contents?: true

Size: 263 Bytes

Versions: 11

Compression:

Stored size: 263 Bytes

Contents

module BootstrapEmail
  module Converter
    class Spacer < Base
      def build
        each_node('*[class*=s-]') do |node|
          node.replace(template('table', classes: "#{node['class']} w-full", contents: '&nbsp;'))
        end
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
bootstrap-email-1.1.4 lib/bootstrap-email/converters/spacer.rb
bootstrap-email-1.1.3 lib/bootstrap-email/converters/spacer.rb
bootstrap-email-1.1.2 lib/bootstrap-email/converters/spacer.rb
bootstrap-email-1.1.1 lib/bootstrap-email/converters/spacer.rb
bootstrap-email-1.1.0 lib/bootstrap-email/converters/spacer.rb
bootstrap-email-1.0.2 lib/bootstrap-email/converters/spacer.rb
bootstrap-email-1.0.1 lib/bootstrap-email/converters/spacer.rb
bootstrap-email-1.0.0 lib/bootstrap-email/converters/spacer.rb
bootstrap-email-1.0.0.alpha4 lib/bootstrap-email/converters/spacer.rb
bootstrap-email-1.0.0.alpha3.1 lib/bootstrap-email/converters/spacer.rb
bootstrap-email-1.0.0.alpha3 lib/bootstrap-email/converters/spacer.rb