aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2021-11-02 15:06:16 -0500
committerJesús <heckyel@hyperbola.info>2021-11-02 15:06:16 -0500
commitd05ebe3b648839f6271a14a4c21e1edf0a96d735 (patch)
tree7fdfe5a5d8ab37804c28c6aa2defa58909ab908f
parent1693bd969b53b4d991f59b4257b0c42a665d14e0 (diff)
downloadgitolite-cgit-docker-d05ebe3b648839f6271a14a4c21e1edf0a96d735.tar.lz
gitolite-cgit-docker-d05ebe3b648839f6271a14a4c21e1edf0a96d735.tar.xz
gitolite-cgit-docker-d05ebe3b648839f6271a14a4c21e1edf0a96d735.zip
Add nonce-source to CSP support
-rw-r--r--gitolite-cgit/md2html2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitolite-cgit/md2html b/gitolite-cgit/md2html
index 9035517..da88e93 100644
--- a/gitolite-cgit/md2html
+++ b/gitolite-cgit/md2html
@@ -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;