<commit_before>import React, { PropTypes } from 'react';
import marked from 'marked';
import cx from 'classnames';

const MarkdownBody = ({ string, className = '' }) => {
  return (
    <p
      className={cx(className, 'md-comment')}
      dangerouslySetInnerHTML={createMarkup()} />
  );
};

function createMarkup (string) {
  return {__html: marked(string)};
}

MarkdownBody.propTypes = {
  string: PropTypes.string.isRequired,
  className: PropTypes.string,
};
<commit_msg>fix(markdown-body): Pass 'string' to 'createMarkup'<commit_after>import React, { PropTypes } from 'react';
import marked from 'marked';
import cx from 'classnames';

const MarkdownBody = ({ string, className = '' }) => {
  return (
    <p
      className={cx(className, 'md-comment')}
      dangerouslySetInnerHTML={createMarkup(string)} />
  );
};

function createMarkup(string) {
  return {__html: marked(string)};
}

MarkdownBody.propTypes = {
  string: PropTypes.string.isRequired,
  className: PropTypes.string,
};

{'fraction_non_alphanumeric': 0.15045135406218657, 'fraction_numerical': 0.0, 'mean_word_length': 4.638418079096045, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '5502585', 'n_tokens_mistral': 311, 'n_tokens_neox': 314, 'n_words': 69}