fix: invalid quote around partial script data (#2323)
This is a little emberassing 👀
This commit is contained in:
@@ -170,7 +170,7 @@ export function renderFreshTags(
|
|||||||
);
|
);
|
||||||
const nonce = renderState.csp ? ` nonce="${renderState.getNonce()}` : "";
|
const nonce = renderState.csp ? ` nonce="${renderState.getNonce()}` : "";
|
||||||
opts.bodyHtml +=
|
opts.bodyHtml +=
|
||||||
`<script id="__FRSH_PARTIAL_DATA_${renderState.renderUuid}" type="application/json"${nonce}">${escapedData}</script>`;
|
`<script id="__FRSH_PARTIAL_DATA_${renderState.renderUuid}" type="application/json"${nonce}>${escapedData}</script>`;
|
||||||
}
|
}
|
||||||
if (script !== "") {
|
if (script !== "") {
|
||||||
opts.bodyHtml +=
|
opts.bodyHtml +=
|
||||||
|
|||||||
Reference in New Issue
Block a user