@@ -293,4 +293,26 @@ tests = [ testGroup "inline code"
293 , plain "b"
293 , plain "b"
294 , plain "c" <> bulletList [plain "d"] ]
294 , plain "c" <> bulletList [plain "d"] ]
296+ , testGroup "citations"
298+ "@item1" =?> para (cite [
299+ Citation{ citationId = "item1"
300+ , citationPrefix = []
301+ , citationSuffix = []
302+ , citationMode = AuthorInText
303+ , citationNoteNum = 0
307+ , "key starts with digit" =:
308+ "@1657:huyghens" =?> para (cite [
309+ Citation{ citationId = "1657:huyghens"
310+ , citationPrefix = []
311+ , citationSuffix = []
312+ , citationMode = AuthorInText
313+ , citationNoteNum = 0