<commit_before>require 'haml/filters'
require 'rdiscount'

module Haml
  module Filters
    # Override Haml's built-in Markdown filter to add escaping of raw HTML.
    module Markdown
      def render(text)
        ::RDiscount.new(text, :filter_html).to_html
      end
    end
  end
end<commit_msg>Temporary workaround for Markdown-generated HTML being escaped.<commit_after># require 'haml/filters'
# require 'rdiscount'

# module Haml
#   module Filters
#     # Override Haml's built-in Markdown filter to add escaping of raw HTML.
#     module Markdown
#       def render(text)
#         ::RDiscount.new(text, :filter_html).to_html.html_safe
#       end
#     end
#   end
# end
{'fraction_non_alphanumeric': 0.08676470588235294, 'fraction_numerical': 0.0, 'mean_word_length': 3.152439024390244, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4210068', 'n_tokens_mistral': 222, 'n_tokens_neox': 216, 'n_words': 64}