From b15329fc696389cf946181e602ead40f2dc21225 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Wed, 14 Apr 2021 13:06:54 +0200 Subject: drop cmark option --safe (noop since 0.29) --- cgit/filters/about-formatting.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cgit/filters/about-formatting.sh') 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 -- cgit v1.2.3