Skip to content
Snippets Groups Projects
Verified Commit 49227111 authored by mirabilos's avatar mirabilos Committed by mirabilos
Browse files

write the citation key unescaped (also thanks David Carlisle)

parent afdf60bc
No related branches found
No related tags found
No related merge requests found
...@@ -212,12 +212,13 @@ function anchorIt { ...@@ -212,12 +212,13 @@ function anchorIt {
idhtm=${|tohtm "$id";} idhtm=${|tohtm "$id";}
idltx=${|totex "$id";} idltx=${|totex "$id";}
if [[ -z $lbl ]]; then if [[ -z $lbl ]]; then
lblhtm=$idhtm lblltx=$idltx lblhtm=$idhtm
lblltx=$idltx
ltxit="{$idltx}" ltxit="{$idltx}"
else else
lblhtm=${|tohtm "$lbl";} lblhtm=${|tohtm "$lbl";}
lblltx=${|totex "$lbl";} lblltx=${|totex "$lbl";}
ltxit="[$lblltx]{$idltx}" ltxit="[$lblltx]{$id}"
fi fi
local attr=" id=\"$idhtm\"" local attr=" id=\"$idhtm\""
if [[ $li = li ]]; then if [[ $li = li ]]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment