mirror of
https://github.com/wassname/template.git
synced 2026-10-04 13:10:06 +08:00
citation contents
This commit is contained in:
1 parent
548037bbe2
commit
3e61d836ea
3 files changed
+7
-11
No files matched your search
@@ -19,7 +19,9 @@ export default function(dom, data) {
|
||||
cite_hover_str += hover_cite(data.bibliography[key]);
|
||||
});
|
||||
cite_hover_str = cite_hover_str.replace(/"/g, "'")
|
||||
el.innerHTML = `<span id="citation-${n}" class="citation" data-hover="${cite_hover_str}">${cite_string}</span>`;
|
||||
var orig_string = el.innerHTML;
|
||||
if (orig_string != "") orig_string += " ";
|
||||
el.innerHTML = `<span id="citation-${n}" class="citation" data-hover="${cite_hover_str}">${orig_string}${cite_string}</span>`;
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user