-
-
Notifications
You must be signed in to change notification settings - Fork 135
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Decode HTML entities by default on node/server
Set parser options `decodeEntities` to true for `html-dom-parser`, which gets passed to `htmlparser2`. Write test to confirm that entities passed to React element's children are decoded (but they will still be encoded when rendered by ReactDOMServer).
- Loading branch information
1 parent
99870f3
commit 68a5169
Showing
2 changed files
with
11 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters