@@ -334,6 +334,18 @@ tests =
335 in (para $ cite [citation] "cite:pandoc")
335 in (para $ cite [citation] "cite:pandoc")
337+ , "Org-ref simple citation with underscores" =:
338+ "cite:pandoc_org_ref" =?>
339+ let citation = Citation
340+ { citationId = "pandoc_org_ref"
341+ , citationPrefix = mempty
342+ , citationSuffix = mempty
343+ , citationMode = AuthorInText
344+ , citationNoteNum = 0
347+ in (para $ cite [citation] "cite:pandoc_org_ref")
337 , "Org-ref simple citation succeeded by comma" =:
349 , "Org-ref simple citation succeeded by comma" =:
338 "cite:pandoc," =?>
350 "cite:pandoc," =?>
339 let citation = Citation
351 let citation = Citation
@@ -346,6 +358,30 @@ tests =
347 in (para $ cite [citation] "cite:pandoc" <> str ",")
359 in (para $ cite [citation] "cite:pandoc" <> str ",")
361+ , "Org-ref simple citation succeeded by dot" =:
363+ let citation = Citation
364+ { citationId = "pandoc"
365+ , citationPrefix = mempty
366+ , citationSuffix = mempty
367+ , citationMode = AuthorInText
368+ , citationNoteNum = 0
371+ in (para $ cite [citation] "cite:pandoc" <> str ".")
373+ , "Org-ref simple citation succeeded by colon" =:
375+ let citation = Citation
376+ { citationId = "pandoc"
377+ , citationPrefix = mempty
378+ , citationSuffix = mempty
379+ , citationMode = AuthorInText
380+ , citationNoteNum = 0
383+ in (para $ cite [citation] "cite:pandoc" <> str ":")
349 , "Org-ref simple citep citation" =:
385 , "Org-ref simple citep citation" =:
350 "citep:pandoc" =?>
386 "citep:pandoc" =?>
351 let citation = Citation
387 let citation = Citation