Skip to content

Commit 72e67ff

Browse files
committed
Fix outdated comment
1 parent c2f4d32 commit 72e67ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/renderers/dom/fiber/ReactDOMFiberComponent.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ if (__DEV__) {
8080
// It also can turn \u0000 into \uFFFD inside attributes.
8181
// https://www.w3.org/TR/html5/single-page.html#preprocessing-the-input-stream
8282
// If we have a mismatch, it might be caused by that.
83-
// We won't be patching up in this case as that matches our past behavior.
83+
// We will still patch up in this case but not fire the warning.
8484
var NORMALIZE_NEWLINES_REGEX = /\r\n?/g;
8585
var NORMALIZE_NULL_AND_REPLACEMENT_REGEX = /\u0000|\uFFFD/g;
8686

0 commit comments

Comments
 (0)