We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8187189 commit 9cf8386Copy full SHA for 9cf8386
src/server/rendering/fresh_tags.tsx
@@ -169,7 +169,7 @@ export function renderFreshTags(
169
: null,
170
}),
171
);
172
- const nonce = renderState.csp ? ` nonce="${renderState.getNonce()}` : "";
+ const nonce = renderState.csp ? ` nonce="${renderState.getNonce()}"` : "";
173
opts.bodyHtml +=
174
`<script id="__FRSH_PARTIAL_DATA_${renderState.renderUuid}" type="application/json"${nonce}>${escapedData}</script>`;
175
}
0 commit comments