@emeryld/rrroutes-contract 2.2.12 → 2.2.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1522,7 +1522,7 @@ var DOCS_JS = `
|
|
|
1522
1522
|
`;
|
|
1523
1523
|
function renderLeafDocsHTML(leaves, options = {}) {
|
|
1524
1524
|
const leavesJson = JSON.stringify(leaves.map(serializeLeaf));
|
|
1525
|
-
const nonceAttr = options.cspNonce ? ` nonce="
|
|
1525
|
+
const nonceAttr = options.cspNonce ? ` nonce="${options.cspNonce}"` : "";
|
|
1526
1526
|
return `
|
|
1527
1527
|
<!DOCTYPE html>
|
|
1528
1528
|
<html lang="en">
|