From 389680bdb6e6f3d87225bd7c433740e76d25bb79 Mon Sep 17 00:00:00 2001
From: Christian Heller <c.heller@plomlompom.de>
Date: Tue, 3 Jan 2017 03:26:15 +0100
Subject: [PATCH] Fix pandoc email obfuscation default.

---
 processor/metadata/default.intermediate.do | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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.
-- 
2.30.2