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()}` : "";
|
||||
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 !== "") {
|
||||
opts.bodyHtml +=
|
||||
|
||||
Reference in New Issue
Block a user