Sha256: c75238d453581b63993d9a3df69d76ae2ca4058dcc8760c35108ec65873b7a85

Contents?: true

Size: 224 Bytes

Versions: 11

Compression:

Stored size: 224 Bytes

Contents

module BootstrapEmail
  module Converter
    class Paragraph < Base
      def build
        each_node('p') do |node|
          next if margin?(node)

          add_class(node, 'mb-4')
        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/paragraph.rb
bootstrap-email-1.1.3 lib/bootstrap-email/converters/paragraph.rb
bootstrap-email-1.1.2 lib/bootstrap-email/converters/paragraph.rb
bootstrap-email-1.1.1 lib/bootstrap-email/converters/paragraph.rb
bootstrap-email-1.1.0 lib/bootstrap-email/converters/paragraph.rb
bootstrap-email-1.0.2 lib/bootstrap-email/converters/paragraph.rb
bootstrap-email-1.0.1 lib/bootstrap-email/converters/paragraph.rb
bootstrap-email-1.0.0 lib/bootstrap-email/converters/paragraph.rb
bootstrap-email-1.0.0.alpha4 lib/bootstrap-email/converters/paragraph.rb
bootstrap-email-1.0.0.alpha3.1 lib/bootstrap-email/converters/paragraph.rb
bootstrap-email-1.0.0.alpha3 lib/bootstrap-email/converters/paragraph.rb