<commit_before>import React, { PropTypes } from 'react'
import styled from 'styled-components'

const PreviewContainer = styled.div`
  width: 100%;
  height: 250px;
  overflow: scroll;
`

function Preview({ html, fontface, theme }) {
  return (
    <PreviewContainer>
      <style>
        {theme}
      </style>
      <pre>
        <code
          className="hljs"
          style={{ fontFamily: fontface }}
          dangerouslySetInnerHTML={{ __html: html }}
        />
      </pre>
    </PreviewContainer>
  )
}

Preview.propTypes = {
  html: PropTypes.string.isRequired,
  fontface: PropTypes.string,
  theme: PropTypes.string.isRequired
}

export default Preview
<commit_msg>Remove hljs className<commit_after>import React, { PropTypes } from 'react'
import styled from 'styled-components'

const PreviewContainer = styled.div`
  width: 100%;
  height: 250px;
  overflow: scroll;
`

function Preview({ html, fontface, theme }) {
  return (
    <PreviewContainer>
      <style>
        {theme}
      </style>
      <pre>
        <code style={{ fontFamily: fontface }} dangerouslySetInnerHTML={{ __html: html }} />
      </pre>
    </PreviewContainer>
  )
}

Preview.propTypes = {
  html: PropTypes.string.isRequired,
  fontface: PropTypes.string,
  theme: PropTypes.string.isRequired
}

export default Preview

{'fraction_non_alphanumeric': 0.12091254752851711, 'fraction_numerical': 0.009125475285171103, 'mean_word_length': 3.0121951219512195, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, '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': '3346931', 'n_tokens_mistral': 412, 'n_tokens_neox': 410, 'n_words': 99}