Add nonce-source to CSP support

This commit is contained in:
Jesús 2021-11-02 15:06:16 -05:00
parent 1693bd969b
commit d05ebe3b64
No known key found for this signature in database
GPG Key ID: F6EE7BC59A315766

View File

@ -7,7 +7,7 @@ from markdown.extensions.toc import TocExtension
sys.stdin = io.TextIOWrapper(sys.stdin.buffer, encoding='utf-8')
sys.stdout = io.TextIOWrapper(sys.stdout.buffer, encoding='utf-8')
sys.stdout.write('''
<style>
<style nonce="f4eb1bb">
.markdown-body {
font-size: 14px;
line-height: 1.6;