Archived
1
0

cite hover

This commit is contained in:
Jeff
2018-05-16 19:39:14 -04:00
parent 6a69c81e79
commit 9ebc76e4e8
2 changed files with 85 additions and 1 deletions

View File

@@ -47,7 +47,7 @@ func backlink(word, prefix string) (markup string) {
if len(parts) > 1 {
longhash = parts[1]
}
return `<a class='backlink' backlinkhash="` + longhash + `" href="` + url + `">&gt;&gt;` + link + "</a>"
return `<a class='backlink' data-backlinkhash="` + longhash + `" href="` + url + `">&gt;&gt;` + link + "</a>"
} else {
return escapeline(word)
}