diff --git a/chrome/content/zotero/xpcom/pdfWorker/manager.js b/chrome/content/zotero/xpcom/pdfWorker/manager.js index c0578208fa..787dcf2a0c 100644 --- a/chrome/content/zotero/xpcom/pdfWorker/manager.js +++ b/chrome/content/zotero/xpcom/pdfWorker/manager.js @@ -158,7 +158,7 @@ class PDFWorker { id: item.key, type: item.annotationType, authorName: Zotero.Users.getName(item.createdByUserID) || Zotero.Users.getCurrentUsername() || '', - comment: item.annotationComment || '', + comment: (item.annotationComment || '').replace(/<\/?(i|b|sub|sup)>/g, ''), color: item.annotationColor, position: JSON.parse(item.annotationPosition), dateModified: item.dateModified