@@ -75,8 +75,8 @@ formatKeys [] = []
7575formatKeys [x] = [x]
7676formatKeys ((Key x1 y1):(Key x2 y2):rest) =
7777 (Key x1 y1):(formatKeys ((Key x2 y2):rest))
78−formatKeys ((Key x1 y1):rest) = (Key x1 y1):Blank:(formatKeys rest)
79−formatKeys (x:(Key x1 y1):rest) = x:Blank:(formatKeys ((Key x1 y1):rest))
78+formatKeys ((Key x1 y1):rest) = (Key x1 y1):(Plain [Str ""]):(formatKeys rest)
79+formatKeys (x:(Key x1 y1):rest) = x:(Plain [Str ""]):(formatKeys ((Key x1 y1):rest))
8080formatKeys (x:rest) = x:(formatKeys rest)
8181
8282-- | Convert bibliographic information into Markdown header.
@@ -103,7 +103,6 @@ dateToMarkdown str = text "% " <> text (escapeString str)
103103blockToMarkdown :: Int -- ^ Tab stop
104104 -> Block -- ^ Block element
105105 -> Doc
106−blockToMarkdown tabStop Blank = text ""
107106blockToMarkdown tabStop Null = empty
108107blockToMarkdown tabStop (Plain lst) = wrappedMarkdown lst
109108blockToMarkdown tabStop (Para lst) = (wrappedMarkdown lst) <> (text "\n")