From fb5faaa91e32ee252eef2ca542c7666d800591e5 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 6 Feb 2011 09:46:59 -0800 Subject: HTML writer: Fixed footnote backrefs in --ascii mode. --- src/Text/Pandoc/Writers/HTML.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/Text') diff --git a/src/Text/Pandoc/Writers/HTML.hs b/src/Text/Pandoc/Writers/HTML.hs index 97c5dabea..576a21dd7 100644 --- a/src/Text/Pandoc/Writers/HTML.hs +++ b/src/Text/Pandoc/Writers/HTML.hs @@ -638,7 +638,8 @@ blockListToNote opts ref blocks = -- that block. Otherwise, insert a new Plain block with the backlink. let backlink = [RawInline "html" $ " "] + " title=\"Jump back to footnote " ++ ref ++ "\">" ++ + (if writerAscii opts then "↩" else "↩") ++ ""] blocks' = if null blocks then [] else let lastBlock = last blocks -- cgit v1.2.3