Skip to content

Commit

Permalink
fix passing strings as chunks
Browse files Browse the repository at this point in the history
  • Loading branch information
shuding committed Oct 24, 2021
1 parent 90e5d36 commit 2160d0e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions packages/react-dom/src/server/ReactDOMServerFormatConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ function pushAttribute(
attributeSeparator,
attributeNameChunk,
attributeAssign,
escapeTextForBrowser(value),
stringToChunk(escapeTextForBrowser(value)),
attributeEnd,
);
}
Expand All @@ -482,7 +482,7 @@ function pushAttribute(
attributeSeparator,
attributeNameChunk,
attributeAssign,
escapeTextForBrowser(value),
stringToChunk(escapeTextForBrowser(value)),
attributeEnd,
);
}
Expand All @@ -493,7 +493,7 @@ function pushAttribute(
attributeSeparator,
attributeNameChunk,
attributeAssign,
escapeTextForBrowser(value),
stringToChunk(escapeTextForBrowser(value)),
attributeEnd,
);
}
Expand All @@ -510,7 +510,7 @@ function pushAttribute(
attributeSeparator,
attributeNameChunk,
attributeAssign,
escapeTextForBrowser(value),
stringToChunk(escapeTextForBrowser(value)),
attributeEnd,
);
}
Expand All @@ -532,7 +532,7 @@ function pushAttribute(
attributeSeparator,
stringToChunk(name),
attributeAssign,
escapeTextForBrowser(value),
stringToChunk(escapeTextForBrowser(value)),
attributeEnd,
);
}
Expand Down Expand Up @@ -1146,7 +1146,7 @@ function pushStartCustomElement(
attributeSeparator,
stringToChunk(propKey),
attributeAssign,
escapeTextForBrowser(propValue),
stringToChunk(escapeTextForBrowser(propValue)),
attributeEnd,
);
}
Expand Down

0 comments on commit 2160d0e

Please sign in to comment.