Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nonce attribute is empty if config.php : debug => false #37

Closed
KoolerNolan opened this issue Feb 24, 2024 · 1 comment
Closed

nonce attribute is empty if config.php : debug => false #37

KoolerNolan opened this issue Feb 24, 2024 · 1 comment

Comments

@KoolerNolan
Copy link

KoolerNolan commented Feb 24, 2024

Using <?= $site->nonceAttr() ?> returns an empty attribute, but if printed out in, for example, a paragraphs inner HTML it is not empty. I disabled or removed any plugin manipulating the html code but the problem persists.
If the debug mode in the config.php is enabled, everything works as expected but that is not a solution.

I am using this plugin in Kirby 4.

@KoolerNolan
Copy link
Author

Did not know their value is not rendered in the developers tools. My issues were a few other files (swiper.js -> 'swiper-icons', and so on). No issue here then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant