about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rwxr-xr-xcgit-about-filter.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/cgit-about-filter.sh b/cgit-about-filter.sh index ad2c4ce..5efa55b 100755 --- a/cgit-about-filter.sh +++ b/cgit-about-filter.sh
@@ -26,7 +26,7 @@ plaintext() {
26} 26}
27 27
28case "$(printf '%s' "$1" | tr '[:upper:]' '[:lower:]')" in 28case "$(printf '%s' "$1" | tr '[:upper:]' '[:lower:]')" in
29 *.markdown|*.mdown|*.md|*.mkd) exec pandoc -thtml -fmarkdown ;; 29*.markdown | *.mdown | *.md | *.mkd) exec pandoc -thtml -fmarkdown ;;
30 *.htm|*.html) exec cat ;; 30*.htm | *.html) exec cat ;;
31 *) plaintext ;; 31*) plaintext ;;
32esac 32esac