# File lib/licensee/content_helper.rb, line 46 def content_normalized return unless content @content_normalized ||= begin content_normalized = content.downcase.strip content_normalized.gsub!(/^#{Matchers::Copyright::REGEX}$/i, '') content_normalized.gsub!(/[=-]{4,}/, '') # Strip HRs from MPL content_normalized.tr("\n", ' ').squeeze(' ').strip end end