Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add options argument to ReactHtmlParser function #21

Merged
merged 1 commit into from
Aug 9, 2017

Conversation

peternewnham
Copy link
Owner

No description provided.

@coveralls
Copy link

coveralls commented Aug 9, 2017

Coverage Status

Coverage remained the same at 100.0% when pulling 2b468f6 on encode_entities_option into 160f206 on master.

@peternewnham peternewnham merged commit d316987 into master Aug 9, 2017
@peternewnham peternewnham deleted the encode_entities_option branch August 9, 2017 10:16
mrdrogdrog pushed a commit to mrdrogdrog/react-html-parser that referenced this pull request Jun 15, 2021
Add .npmignore file

Add travis config file

Add eslint to package.json

Remove jasmine-expect-jsx from karma file

Add karma-phantomjs-launcher to dev dependencies

Update README

1.0.1

Add github repository to package.json

Ignore .idea file

Add coveralls support

Add coveralls badge

Add demo

Update README

Fix lint errors in demo

Add void element checking to TagElementType

Add tests for void elements

Fixes peternewnham#3 - Add boolean type attribute handling

1.0.2

fix matching boolean attribute

Add react ^15.0.0 to peerDependencies

Update dev-dependencies to latest

Update demo dependencies

Add github project link to demo

Add analytics to demo page

1.0.3

remove duplicate export

add decode entities in text nodes

Update dependencies (peternewnham#18)

* Add package-lock.json file
* Add support for running ci with multiple versions of react
* Add React 16 to peer dependencies

Add options argument to ReactHtmlParser function (peternewnham#21)

Don't automatically convert html, head and body tags to div (peternewnham#22)

Update attributes list with latest additions and removals from react attribute whitelist (peternewnham#23)

Add transform function option (peternewnham#24)

Add transform option

Fix formatting in README.md

Correctly generate inline styles when they contain multiple colons (fixes peternewnham#9) (peternewnham#25)

Update CHANGELOG.md

Correctly generate inline styles when they contain multiple colons (fixes peternewnham#9)

2.0.0

Add preprocessNodes option

Expose htmlparser2

Add React 16 explicitely to travis config

Update demo site to react 16

Update change log for v2.0.1 release

2.0.1

Add downloads badge to readme

Fix empty string styles by running inlineStyleToObject on all strings and deleting non-string style props

Add integration and unit test for empty string style prop value in geratePropsFromAttributes

Add karma-es6-shim for ES6 support (React16 uses Set) for phantomJS

Update changelog

2.0.2

Update README with security information

Fork repository

Format with prettier

package

Add lint ci job

change default export

fix type

fix import

add integration test

lint tests as well

Add tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants