diff options
author | Xiao Pan <gky44px1999@gmail.com> | 2024-02-25 08:04:57 +0000 |
---|---|---|
committer | Xiao Pan <gky44px1999@gmail.com> | 2024-02-25 08:04:57 +0000 |
commit | d708af68c3369b5da525d10985a095217f91cedc (patch) | |
tree | 57797b155f3491c9e2e3bd00a93617e13365dee5 /usr | |
parent | 5f11eee7396ba2edecf099582f413ba46e6e47f8 (diff) |
update
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/lib/cgit/filters/syntax-highlighting-edited.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |