Fix biblio citations

This commit is contained in:
2024-12-04 09:07:03 +01:00
parent 0c33329582
commit e32c695cf2
3 changed files with 10 additions and 10 deletions

View File

@@ -102,9 +102,9 @@ export class SiteSheet {
<span class="is-clickable is-capitalized has-text-link"
data-action="click->biblio#open"
id="cit-${record.id}">
${record.citation.toLowerCase().trim()},
</span> ${record.pages};
`;
${record.citation.toLowerCase().trim()}</span>`;
citations += record.pages?.length ? `, ${record.pages};` : ';';
this.biblioElements.push(`
<div class="p-2 mt-2" id="ref-${record.id}">
@@ -124,4 +124,4 @@ export class SiteSheet {
return ref.match(regex);
});
}
}
}