We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 674eda1 commit 986f7f2Copy full SHA for 986f7f2
1 file changed
docs/ref/csp.txt
@@ -261,7 +261,7 @@ expression into the CSP header.
261
To use this nonce in templates, the
262
:func:`~django.template.context_processors.csp` context processor needs to be
263
enabled. It adds a ``csp_nonce`` variable to the template context, allowing
264
-inline elements to include a matching ``nonce={{ csp_nonce }}`` attribute in
+inline elements to include a matching ``nonce="{{ csp_nonce }}"`` attribute in
265
inline scripts or styles.
266
267
The browser will only execute inline elements that include a ``nonce=<value>``
0 commit comments