diff options
Diffstat (limited to 'cgit')
-rwxr-xr-x | cgit/filters/about-formatting.sh | 2 | ||||
-rwxr-xr-x | cgit/filters/syntax-highlighting.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cgit/filters/about-formatting.sh b/cgit/filters/about-formatting.sh index 83a7bc0..5d2d77b 100755 --- a/cgit/filters/about-formatting.sh +++ b/cgit/filters/about-formatting.sh @@ -16,7 +16,7 @@ # CGIT_REPO_CLONE_URL ( = repo.clone-url setting ) case "$(printf '%s' "$1" | tr '[:upper:]' '[:lower:]')" in - *.markdown|*.mdown|*.md|*.mkd|*.mdwn) exec cmark --safe; ;; + *.markdown|*.mdown|*.md|*.mkd|*.mdwn) exec cmark; ;; *.htm|*.html) exec cat; ;; *.txt|*) cd /usr/lib/cgit/filters/html-converters; exec ./txt2html; ;; esac diff --git a/cgit/filters/syntax-highlighting.sh b/cgit/filters/syntax-highlighting.sh index 44cd310..98e1f37 100755 --- a/cgit/filters/syntax-highlighting.sh +++ b/cgit/filters/syntax-highlighting.sh @@ -31,6 +31,6 @@ case "$(printf '%s' "$EXTENSION" | tr '[:upper:]' '[:lower:]')" in esac case "$EXTENSION" in - md) exec cmark --safe;; + md) exec cmark;; *) exec highlight --force -f -I -O xhtml -S "$EXTENSION" --ordered-list --line-number-ref=n 2>/dev/null;; esac |