diff --git a/src/utils/annotation.ts b/src/utils/annotation.ts index 7a9c874..9f5f363 100644 --- a/src/utils/annotation.ts +++ b/src/utils/annotation.ts @@ -161,11 +161,11 @@ function serializeAnnotations( } let template: string = ""; - if (annotation.type === "highlight") { + if (["highlight", "underline"].includes(annotation.type)) { template = Zotero.Prefs.get( "annotations.noteTemplates.highlight", ) as string; - } else if (annotation.type === "note") { + } else if (["note", "text"].includes(annotation.type)) { template = Zotero.Prefs.get("annotations.noteTemplates.note") as string; } else if (annotation.type === "image") { template = "
{{image}}
{{citation}} {{comment}}