diff options
author | Alexander Krotov <ilabdsf@gmail.com> | 2019-10-04 18:28:45 +0300 |
---|---|---|
committer | Alexander Krotov <ilabdsf@gmail.com> | 2019-10-04 18:28:45 +0300 |
commit | 701ae8634eb51331dcc354b58a437cd79bcaaf8c (patch) | |
tree | 6e59da572f8850c2dd39e3edec736a3254ae5162 /src/Text | |
parent | 8efc6773685ed7a3d18c4ecd5047eb09a25f1ace (diff) | |
download | pandoc-701ae8634eb51331dcc354b58a437cd79bcaaf8c.tar.gz |
hlint FB2 reader
Diffstat (limited to 'src/Text')
-rw-r--r-- | src/Text/Pandoc/Readers/FB2.hs | 2 |
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. |