summaryrefslogtreecommitdiffstats
path: root/packages/gitbook-core
diff options
context:
space:
mode:
authorSamy Pesse <samypesse@gmail.com>2016-10-05 01:47:16 +0200
committerSamy Pesse <samypesse@gmail.com>2016-10-05 01:47:16 +0200
commit45752fc79c9e3a5b7e84ed8572a8f0c12d8176b1 (patch)
tree2ecfc9d8bdff9c44dbb9e0682f070000dc194dba /packages/gitbook-core
parenta863b55c798b4dc0a177fe1ada9cd428f1a5444d (diff)
downloadgitbook-45752fc79c9e3a5b7e84ed8572a8f0c12d8176b1.zip
gitbook-45752fc79c9e3a5b7e84ed8572a8f0c12d8176b1.tar.gz
gitbook-45752fc79c9e3a5b7e84ed8572a8f0c12d8176b1.tar.bz2
Complete highlight plugin
Diffstat (limited to 'packages/gitbook-core')
-rw-r--r--packages/gitbook-core/src/components/HTMLContent.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/gitbook-core/src/components/HTMLContent.js b/packages/gitbook-core/src/components/HTMLContent.js
index 338e745..720e50a 100644
--- a/packages/gitbook-core/src/components/HTMLContent.js
+++ b/packages/gitbook-core/src/components/HTMLContent.js
@@ -15,7 +15,7 @@ function inject(injectedProps, Component) {
return (props) => {
const cleanProps = {
...props,
- className: props.className
+ className: props['class']
};
delete cleanProps['class'];