diff options
Diffstat (limited to 'src/Hakyll/TeX')
| -rw-r--r-- | src/Hakyll/TeX/BibTeX.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Hakyll/TeX/BibTeX.hs b/src/Hakyll/TeX/BibTeX.hs index eb87c4e..a78f254 100644 --- a/src/Hakyll/TeX/BibTeX.hs +++ b/src/Hakyll/TeX/BibTeX.hs @@ -33,7 +33,8 @@ instance Writable [B.T] where compileBibtex :: (StringConv s String) => Item s -> Compiler (Item BibTeX) compileBibtex = fmap (B.lowerCaseFieldNames <<$>>) . compileParsec_ p . fmap toSL where - p = B.skippingLeadingSpace $ B.file <* P.space <* P.eof + p = B.skippingSpace B.file + -- p = B.skippingLeadingSpace $ B.file <* P.space <* P.eof bibtexCompiler :: Compiler (Item BibTeX) bibtexCompiler = getResourceBody >>= compileBibtex |
