From: Christian Heller Date: Tue, 3 Jan 2017 02:26:15 +0000 (+0100) Subject: Fix pandoc email obfuscation default. X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/%7B%7B%20web_path%20%7D%7D/static/edit?a=commitdiff_plain;h=389680bdb6e6f3d87225bd7c433740e76d25bb79;p=redo-blog Fix pandoc email obfuscation default. --- diff --git a/processor/metadata/default.intermediate.do b/processor/metadata/default.intermediate.do index bf87309..4645223 100644 --- a/processor/metadata/default.intermediate.do +++ b/processor/metadata/default.intermediate.do @@ -11,10 +11,10 @@ rstfile="../${1%.intermediate}.rst" # Build intermediate file. if [ -f "$rstfile" ]; then redo-ifchange "$rstfile" - pandoc -f rst --template="$template" --mathml -t html5 "$rstfile" --base-header-level=2 > "$3" + pandoc -f rst --template="$template" --mathml -t html5 "$rstfile" --base-header-level=2 --email-obfuscation=references > "$3" elif [ -f "$mdfile" ]; then redo-ifchange "$mdfile" - pandoc -f markdown --template="$template" --mathml -t html5 "$mdfile" --base-header-level=2 > "$3" + pandoc -f markdown --template="$template" --mathml -t html5 "$mdfile" --base-header-level=2 --email-obfuscation=references > "$3" fi # Update meta file if appropriate.