<commit_before>/** @jsx React.DOM */

(function() {

  module.exports = React.createClass({
    displayName: 'Markdown',

    propTypes: {
      content: React.PropTypes.string.isRequired
    },

    render: function() {
      var normalized = this.props.normalized

      var cs = React.addons.classSet({
        'markdown': true,
        'markdown-normalized': (typeof normalized !== "undefined" && normalized !== null)
      })

      return (
        <div className={cs} dangerouslySetInnerHTML={{__html: this.props.content}} />
      )
    }
  })

})()<commit_msg>Refactor Markdown class.<commit_after>/** @jsx React.DOM */

var Markdown = React.createClass({
  displayName: 'Markdown',

  propTypes: {
    content: React.PropTypes.string.isRequired
  },

  render: function() {
    var normalized = this.props.normalized

    var cs = React.addons.classSet({
      'markdown': true,
      'markdown-normalized': (typeof normalized !== "undefined" && normalized !== null)
    })

    return (
      <div className={cs} dangerouslySetInnerHTML={{__html: this.props.content}} />
    )
  }
})

window.Markdown = module.exports = Markdown
{'fraction_non_alphanumeric': 0.15100965759438104, 'fraction_numerical': 0.0, 'mean_word_length': 2.9721254355400695, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '2006157', 'n_tokens_mistral': 352, 'n_tokens_neox': 344, 'n_words': 69}