<commit_before>import { Card, CardText } from 'material-ui/Card';
import React, { PropTypes } from 'react';
import { Link } from 'react-router';

const Post = ({
  errors,
  post,
}) => (
  <Card className="container">
    {errors.summary && <p className="error-message">{errors.summary}</p>}

    <p>Author: {post.author}. Posted on {post.createdAt}</p>
    <p>Last updated on {post.updatedAt}</p>
    <h2 className="card-heading">{post.title}</h2>

    {post.body}

  </Card>
);

Post.propTypes = {
  errors: PropTypes.object.isRequired,
  post: PropTypes.object.isRequired,
};

export default Post;<commit_msg>bug: (fix) solved post.body no display issue by wrapping {post.body} in a material-ui <CardText> element<commit_after>import { Card, CardText } from 'material-ui/Card';
import React, { PropTypes } from 'react';
import { Link } from 'react-router';

const Post = ({
  errors,
  post,
}) => (
  <Card className="container">
    {errors.summary && <p className="error-message">{errors.summary}</p>}

    <p>Author: {post.author}. Posted on {post.createdAt}</p>
    <p>Last updated on {post.updatedAt}</p>
    <h2 className="card-heading">{post.title}</h2>

    <CardText>{post.body}</CardText>

  </Card>
);

Post.propTypes = {
  errors: PropTypes.object.isRequired,
  post: PropTypes.object.isRequired,
};

export default Post;
{'fraction_non_alphanumeric': 0.1756352765321375, 'fraction_numerical': 0.0029895366218236174, 'mean_word_length': 4.1698841698841695, 'pattern_counts': {'":': 0, '<': 26, '<?xml version=': 0, '>': 28, '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': '219402', 'n_tokens_mistral': 448, 'n_tokens_neox': 445, 'n_words': 101}