Skip to content

Commit

Permalink
Fix outdated comment
Browse files Browse the repository at this point in the history
  • Loading branch information
gaearon committed Oct 5, 2017
1 parent c2f4d32 commit 72e67ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderers/dom/fiber/ReactDOMFiberComponent.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ if (__DEV__) {
// It also can turn \u0000 into \uFFFD inside attributes.
// https://www.w3.org/TR/html5/single-page.html#preprocessing-the-input-stream
// If we have a mismatch, it might be caused by that.
// We won't be patching up in this case as that matches our past behavior.
// We will still patch up in this case but not fire the warning.
var NORMALIZE_NEWLINES_REGEX = /\r\n?/g;
var NORMALIZE_NULL_AND_REPLACEMENT_REGEX = /\u0000|\uFFFD/g;

Expand Down

0 comments on commit 72e67ff

Please sign in to comment.