diff options
-rw-r--r-- | packages/gitbook-core/src/components/HTMLContent.js | 2 |
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 75da884..9d15398 100644 --- a/packages/gitbook-core/src/components/HTMLContent.js +++ b/packages/gitbook-core/src/components/HTMLContent.js @@ -1,11 +1,11 @@ const React = require('react'); const ReactSafeHtml = require('react-safe-html'); +const { DOMProperty } = require('react-dom/lib/ReactInjection'); const htmlTags = require('html-tags'); const entities = require('entities'); const { InjectedComponent } = require('./InjectedComponent'); -const DOMProperty = require('react/lib/ReactInjection').DOMProperty; DOMProperty.injectDOMPropertyConfig({ Properties: { align: DOMProperty.MUST_USE_ATTRIBUTE |