mirror of
https://github.com/discourse/discourse-ai.git
synced 2025-07-02 20:42:16 +00:00
- Adds a nonce to both script tags - Removes the `onload=` inline script, and moves the tags to the end of the `<body>` instead. This provides the same UX (page will load and render, then hljs will be applied when ready)
Discourse AI Plugin
Plugin Summary
For more information, please see: https://meta.discourse.org/t/discourse-ai/259214?u=falco
Languages
Ruby
81.1%
JavaScript
15.7%
SCSS
2.2%
CSS
0.4%
HTML
0.4%
Other
0.2%