Sha256: a62d3764fd37da210d8c893fa4955884a9765ab2a600a6f7c45119d70f1a4c13

Contents?: true

Size: 442 Bytes

Versions: 1

Compression:

Stored size: 442 Bytes

Contents

# frozen_string_literal: true

module Mail
  module Jdec
    module MessageIdsElementPatch
      private

      def parse(string)
        if Jdec.enabled? && string.is_a?(String)
          string = string.gsub(/\t/, ' ')
        end
        super
      end
    end
  end
end

unless Mail::MessageIdsElement.included_modules.include?(Mail::Jdec::MessageIdsElementPatch)
  Mail::MessageIdsElement.prepend Mail::Jdec::MessageIdsElementPatch
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mail-jdec-1.1.2 lib/mail/jdec/elements/message_ids_element_patch.rb