From 701ae8634eb51331dcc354b58a437cd79bcaaf8c Mon Sep 17 00:00:00 2001 From: Alexander Krotov Date: Fri, 4 Oct 2019 18:28:45 +0300 Subject: hlint FB2 reader --- src/Text/Pandoc/Readers/FB2.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Text') diff --git a/src/Text/Pandoc/Readers/FB2.hs b/src/Text/Pandoc/Readers/FB2.hs index a702300c6..0b25b9fed 100644 --- a/src/Text/Pandoc/Readers/FB2.hs +++ b/src/Text/Pandoc/Readers/FB2.hs @@ -150,7 +150,7 @@ parseNote e = isTitle x = qName (elName x) == "title" dropTitle (x:xs) = if isTitle x then xs -- Drop note section if present - else (x:xs) + else x:xs dropTitle [] = [] -- | Parse a child of @\<FictionBook>@ element. -- cgit v1.2.3