git.iko.soy/typeable/pandoc
on master help sign in
Merge pull request #366 from gridaphobe/master
a0a3197John MacFarlane
src/Text/Pandoc/Writers/HTML.hs+1−2
@@ -668,8 +668,7 @@ blockListToNote :: WriterOptions -> String -> [Block] -> State WriterState Html
668blockListToNote opts ref blocks =
668blockListToNote opts ref blocks =
669 -- If last block is Para or Plain, include the backlink at the end of
669 -- If last block is Para or Plain, include the backlink at the end of
670 -- that block. Otherwise, insert a new Plain block with the backlink.
670 -- that block. Otherwise, insert a new Plain block with the backlink.
671− let backlink = [RawInline "html" $ " <a href=\"#" ++ writerIdentifierPrefix opts ++ "fnref" ++ ref ++
671+ let backlink = [Link [Str "↩"] ("#" ++ writerIdentifierPrefix opts ++ "fnref" ++ ref,[])]
672− "\" class=\"footnoteBackLink\">↩</a>"]
673 blocks' = if null blocks
672 blocks' = if null blocks
674 then []
673 then []
675 else let lastBlock = last blocks
674 else let lastBlock = last blocks