Filter i, b, sub, sup tags from annotation comment when exporting to PDF
This commit is contained in:
parent
fdcd4e51c5
commit
f2a440185b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue