HTML writer: Fixed footnote backrefs in --ascii mode.
This commit is contained in:
parent
aec5489960
commit
fb5faaa91e
1 changed files with 2 additions and 1 deletions
|
@ -638,7 +638,8 @@ blockListToNote opts ref blocks =
|
||||||
-- that block. Otherwise, insert a new Plain block with the backlink.
|
-- that block. Otherwise, insert a new Plain block with the backlink.
|
||||||
let backlink = [RawInline "html" $ " <a href=\"#" ++ writerIdentifierPrefix opts ++ "fnref" ++ ref ++
|
let backlink = [RawInline "html" $ " <a href=\"#" ++ writerIdentifierPrefix opts ++ "fnref" ++ ref ++
|
||||||
"\" class=\"footnoteBackLink\"" ++
|
"\" class=\"footnoteBackLink\"" ++
|
||||||
" title=\"Jump back to footnote " ++ ref ++ "\">↩</a>"]
|
" title=\"Jump back to footnote " ++ ref ++ "\">" ++
|
||||||
|
(if writerAscii opts then "↩" else "↩") ++ "</a>"]
|
||||||
blocks' = if null blocks
|
blocks' = if null blocks
|
||||||
then []
|
then []
|
||||||
else let lastBlock = last blocks
|
else let lastBlock = last blocks
|
||||||
|
|
Loading…
Reference in a new issue