Skip to content

Commit

Permalink
Typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Oleksandr Strikha committed Mar 8, 2018
1 parent 01b2e93 commit 356c3e6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
# Active HTML for ReactJS
Convert HTML string to React Components

## The problem
The most of the CMS provide content as pure html from WYSIWYG editors:
## Problem
The most of CMS provides content as pure html from WYSIWYG editors:
```json
{
"content": "<a href='/hello'>Hello World</a><img src='image.png' class='main-image' alt='' /><p>Lorem ipsum...</p>"
Expand Down Expand Up @@ -44,12 +44,12 @@ class Html extends Component {

## Installation
### Browser
npm install react-active-html --save-dev
npm install react-active-html
### Node
npm install react-active-html xmldom --save
npm install react-active-html xmldom
```js
const activeHtml = require('react-active-html');
const xmldom = require('rxmldom');

activeHtml.DOMParser = new xmldom.DOMParser();
```
```

0 comments on commit 356c3e6

Please sign in to comment.