From 6535be64b9301bbc964cb41b8452d1500092619b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs?= Date: Tue, 2 Nov 2021 15:17:34 -0500 Subject: syntax-highlighting.py: add nonce-source to CSP support --- gitolite-cgit/syntax-highlighting.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gitolite-cgit/syntax-highlighting.py') diff --git a/gitolite-cgit/syntax-highlighting.py b/gitolite-cgit/syntax-highlighting.py index 16f83a3..16e206d 100755 --- a/gitolite-cgit/syntax-highlighting.py +++ b/gitolite-cgit/syntax-highlighting.py @@ -49,7 +49,7 @@ except TypeError: # highlight! :-) # printout pygments' css definitions as well -sys.stdout.write('') sys.stdout.write(highlight(data, lexer, formatter, outfile=None)) -- cgit v1.2.3