From e87b54dcad5e37133bc0f4cfc8039e9fd0dd1b4e Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Thu, 16 May 2019 21:39:03 -0700 Subject: JATS writer: properly handle footnotes. "Best Practice: When footnotes are grouped at the end of an article, wrap them in a `` and use an `` element in the text, as usual, to tie each footnote in the list to a particular location in the text." Closes #5511. --- test/Tests/Writers/JATS.hs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'test/Tests') diff --git a/test/Tests/Writers/JATS.hs b/test/Tests/Writers/JATS.hs index 669220eea..6de058701 100644 --- a/test/Tests/Writers/JATS.hs +++ b/test/Tests/Writers/JATS.hs @@ -86,9 +86,7 @@ tests = [ testGroup "inline code" headerWith ("foo",["unnumbered"],[]) 1 (text "Header 1" <> note (plain $ text "note")) =?> "\n\ - \ Header 1<fn>\n\ - \ <p>note</p>\n\ - \ </fn>\n\ + \ Header 1<xref ref-type=\"fn\" rid=\"fn1\">1</xref>\n\ \" , "unnumbered sub header" =: headerWith ("foo",["unnumbered"],[]) 1 -- cgit v1.2.3