<style> tag in a page dropped during the build process. #594
Unanswered
vivekragunathan
asked this question in
Support
Replies: 1 comment
-
I advise you to minimize the use of inline scripts and styles — for security reasons mainly. But, if you would like to make use of it (Doks does support it), make sure to use a hash (or nonce), and update Doks' default Content Security Policy accordingly. See also: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hugo supports
<style>
tag in a page. Doks drops the style tag during the build process. Will this be supported?The way this is useful is that it makes it easier and cleaner than adding inline styles to HTML elements added to the page. Also, avoids repeating styles inline to each element.
Beta Was this translation helpful? Give feedback.
All reactions