aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Readers
diff options
context:
space:
mode:
authorAlexander Krotov <ilabdsf@gmail.com>2019-10-04 18:28:45 +0300
committerAlexander Krotov <ilabdsf@gmail.com>2019-10-04 18:28:45 +0300
commit701ae8634eb51331dcc354b58a437cd79bcaaf8c (patch)
tree6e59da572f8850c2dd39e3edec736a3254ae5162 /src/Text/Pandoc/Readers
parent8efc6773685ed7a3d18c4ecd5047eb09a25f1ace (diff)
downloadpandoc-701ae8634eb51331dcc354b58a437cd79bcaaf8c.tar.gz
hlint FB2 reader
Diffstat (limited to 'src/Text/Pandoc/Readers')
-rw-r--r--src/Text/Pandoc/Readers/FB2.hs2
1 files changed, 1 insertions, 1 deletions
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 <title> if present
- else (x:xs)
+ else x:xs
dropTitle [] = []
-- | Parse a child of @\<FictionBook>@ element.