summaryrefslogtreecommitdiff
path: root/src/Text/Pandoc
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-05-10 23:26:32 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2014-05-10 23:26:32 -0700
commit009260647612238b5af964afcbeb452001f2ab0c (patch)
tree4671991cecb1cbb66caf3954136bbf40d33054aa /src/Text/Pandoc
parent12d0dcffe8c91a0cb4ed78741eef6c205116e014 (diff)
LaTeX reader: Don't error on "%foo" with no newline.
Diffstat (limited to 'src/Text/Pandoc')
-rw-r--r--src/Text/Pandoc/Readers/LaTeX.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Readers/LaTeX.hs b/src/Text/Pandoc/Readers/LaTeX.hs
index bfafea1f6..8476c8636 100644
--- a/src/Text/Pandoc/Readers/LaTeX.hs
+++ b/src/Text/Pandoc/Readers/LaTeX.hs
@@ -125,7 +125,7 @@ comment :: LP ()
comment = do
char '%'
skipMany (satisfy (/='\n'))
- newline
+ optional newline
return ()
bgroup :: LP ()