aboutsummaryrefslogtreecommitdiff
path: root/src/Text
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2010-07-05 00:11:02 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2010-07-05 00:11:02 -0700
commitbd0320962eb8165354854351dc2e24fde5af1c06 (patch)
tree0865181efc5536968ff956c6af07e85e5f624f6c /src/Text
parent10e284aaf4d134d2b564434aa18c5494afa9fbee (diff)
downloadpandoc-bd0320962eb8165354854351dc2e24fde5af1c06.tar.gz
Comment change in Templates (thanks to Alexander Hirzel).
Resolves Issue #245.
Diffstat (limited to 'src/Text')
-rw-r--r--src/Text/Pandoc/Templates.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Templates.hs b/src/Text/Pandoc/Templates.hs
index 2238f4da8..372954ae3 100644
--- a/src/Text/Pandoc/Templates.hs
+++ b/src/Text/Pandoc/Templates.hs
@@ -173,7 +173,7 @@ for = try $ do
string "$for("
id' <- ident
string ")$"
- -- if newline after the "if", then a newline after "endif" will be swallowed
+ -- if newline after the "for", then a newline after "endfor" will be swallowed
multiline <- option False $ try $ skipEndline >> return True
let matches = filter (\(k,_) -> k == id') vars
let indent = replicate pos ' '