Include quotation marks for highlights by default, but allow to disable
Fixes #2697
This commit is contained in:
parent
acba90f272
commit
f0e0971c69
2 changed files with 3 additions and 2 deletions
|
@ -1361,7 +1361,8 @@ class EditorInstanceUtilities {
|
||||||
|
|
||||||
let vars = {
|
let vars = {
|
||||||
color: annotation.color || '',
|
color: annotation.color || '',
|
||||||
highlight: (attrs) => attrs.quotes === 'true' ? quotedHighlightHTML : highlightHTML,
|
// Include quotation marks by default, but allow to disable with `quotes='false'`
|
||||||
|
highlight: (attrs) => attrs.quotes === 'false' ? highlightHTML : quotedHighlightHTML,
|
||||||
comment: commentHTML,
|
comment: commentHTML,
|
||||||
citation: citationHTML,
|
citation: citationHTML,
|
||||||
image: imageHTML,
|
image: imageHTML,
|
||||||
|
|
|
@ -205,7 +205,7 @@ pref("extensions.zotero.retractions.recentItems", "[]");
|
||||||
|
|
||||||
// Annotations
|
// Annotations
|
||||||
pref("extensions.zotero.annotations.noteTemplates.title", "<h1>{{title}}<br/>({{date}})</h1>");
|
pref("extensions.zotero.annotations.noteTemplates.title", "<h1>{{title}}<br/>({{date}})</h1>");
|
||||||
pref("extensions.zotero.annotations.noteTemplates.highlight", "<p>{{highlight quotes='true'}} {{citation}} {{comment}}</p>");
|
pref("extensions.zotero.annotations.noteTemplates.highlight", "<p>{{highlight}} {{citation}} {{comment}}</p>");
|
||||||
pref("extensions.zotero.annotations.noteTemplates.note", "<p>{{citation}} {{comment}}</p>");
|
pref("extensions.zotero.annotations.noteTemplates.note", "<p>{{citation}} {{comment}}</p>");
|
||||||
|
|
||||||
// Scaffold
|
// Scaffold
|
||||||
|
|
Loading…
Reference in a new issue