diff --git a/src/core/components/highlight-code.jsx b/src/core/components/highlight-code.jsx
index 2d888c75699..414180cb94a 100644
--- a/src/core/components/highlight-code.jsx
+++ b/src/core/components/highlight-code.jsx
@@ -12,6 +12,7 @@ export default class HighlightCode extends Component {
className: PropTypes.string,
downloadable: PropTypes.bool,
fileName: PropTypes.string,
+ language: PropTypes.string,
canCopy: PropTypes.bool
}
@@ -39,7 +40,7 @@ export default class HighlightCode extends Component {
}
render () {
- let { value, className, downloadable, getConfigs, canCopy } = this.props
+ let { value, className, downloadable, getConfigs, canCopy, language } = this.props
const config = getConfigs ? getConfigs() : {syntaxHighlight: {activated: true, theme: "agate"}}
@@ -47,6 +48,7 @@ export default class HighlightCode extends Component {
const codeBlock = get(config, "syntaxHighlight.activated")
?
+ bodyEl =
// XML
} else if (/xml/i.test(contentType)) {