From d708af68c3369b5da525d10985a095217f91cedc Mon Sep 17 00:00:00 2001 From: Xiao Pan Date: Sun, 25 Feb 2024 08:04:57 +0000 Subject: update --- usr/lib/cgit/filters/syntax-highlighting-edited.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr') diff --git a/usr/lib/cgit/filters/syntax-highlighting-edited.sh b/usr/lib/cgit/filters/syntax-highlighting-edited.sh index 2c33b907..81e39197 100755 --- a/usr/lib/cgit/filters/syntax-highlighting-edited.sh +++ b/usr/lib/cgit/filters/syntax-highlighting-edited.sh @@ -106,7 +106,7 @@ if [ "${BASENAME%%.*}" = Makefile ] || [ "${BASENAME%%.*}" = makefile ]; then EXTENSION=mk fi -# `--force` needed for highlight; one example is `cat textfile | highlight -O ansi --force`, without `--force` will error 1 and no output +# `--force` needed for highlight; one example is `< textfile highlight -O ansi --force`, without `--force` will error 1 and no output if [ "${BASENAME}" = "${EXTENSION}" ] || [ -z "${EXTENSION}" ]; then exec highlight --force --inline-css -f -I -O xhtml 2>/dev/null else -- cgit v1.2.3-70-g09d2