From c9e6d0ebabecf04e8f091234d293a85afe712057 Mon Sep 17 00:00:00 2001 From: Chris Wells Date: Fri, 31 Jan 2025 13:19:33 -0600 Subject: Adding more functionality --- src/Hakyll/TeX/BibTeX.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Hakyll') diff --git a/src/Hakyll/TeX/BibTeX.hs b/src/Hakyll/TeX/BibTeX.hs index ddf9166..a3adce7 100644 --- a/src/Hakyll/TeX/BibTeX.hs +++ b/src/Hakyll/TeX/BibTeX.hs @@ -33,7 +33,7 @@ instance Writable [B.T] where compileBibtex :: (StringConv s String) => Item s -> Compiler (Item BibTeX) compileBibtex = compileParsec_ p . fmap toSL where - p = B.skippingLeadingSpace $ B.file <* P.eof + p = B.skippingLeadingSpace $ B.file <* P.space <* P.eof bibtexCompiler :: Compiler (Item BibTeX) bibtexCompiler = getResourceBody >>= compileBibtex -- cgit v1.2.3