diff options
author | John MacFarlane <jgm@berkeley.edu> | 2014-05-10 23:26:32 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2014-05-10 23:26:32 -0700 |
commit | 009260647612238b5af964afcbeb452001f2ab0c (patch) | |
tree | 4671991cecb1cbb66caf3954136bbf40d33054aa /src/Text | |
parent | 12d0dcffe8c91a0cb4ed78741eef6c205116e014 (diff) | |
download | pandoc-009260647612238b5af964afcbeb452001f2ab0c.tar.gz |
LaTeX reader: Don't error on "%foo" with no newline.
Diffstat (limited to 'src/Text')
-rw-r--r-- | src/Text/Pandoc/Readers/LaTeX.hs | 2 |
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 () |