From 9fec52cfb9a2fca2e6ad2aa505075de47e930165 Mon Sep 17 00:00:00 2001 From: Cullum Smith Date: Thu, 14 Nov 2024 20:40:35 -0500 Subject: more updates for git server --- .../usr/local/lib/cgit/filters/syntax-highlighting-custom.py.git_server | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'files/usr/local/lib/cgit') diff --git a/files/usr/local/lib/cgit/filters/syntax-highlighting-custom.py.git_server b/files/usr/local/lib/cgit/filters/syntax-highlighting-custom.py.git_server index 1d71275..6346ec4 100644 --- a/files/usr/local/lib/cgit/filters/syntax-highlighting-custom.py.git_server +++ b/files/usr/local/lib/cgit/filters/syntax-highlighting-custom.py.git_server @@ -13,7 +13,7 @@ sys.stdin = io.TextIOWrapper(sys.stdin.buffer, encoding='utf-8', errors='replace sys.stdout = io.TextIOWrapper(sys.stdout.buffer, encoding='utf-8', errors='replace') data = sys.stdin.read() filename = sys.argv[1] -formatter = HtmlFormatter(style='${cgit_pygments_style}', nobackground=True) +formatter = HtmlFormatter(style='${cgit_pygments_style}') try: lexer = guess_lexer_for_filename(filename, data) -- cgit v1.2.3