Note Editor & Quick Copy: Don't use bidi control characters
Since Word can't handle FSI/PDI. This affects dragging items into notes and dragging/copying annotations in the reader. Citations inserted from within the note editor already didn't include bidi control characters. Fixes #4013
This commit is contained in:
parent
07de63be35
commit
5d263e2f4c
1 changed files with 1 additions and 3 deletions
|
@ -1636,9 +1636,7 @@ class EditorInstanceUtilities {
|
||||||
else if (authors.length === 2) {
|
else if (authors.length === 2) {
|
||||||
let a = authors[0].family || authors[0].literal;
|
let a = authors[0].family || authors[0].literal;
|
||||||
let b = authors[1].family || authors[1].literal;
|
let b = authors[1].family || authors[1].literal;
|
||||||
// \u2068 FIRST STRONG ISOLATE: Isolates the directionality of characters that follow
|
str = Zotero.getString('general.andJoiner', [a, b]);
|
||||||
// \u2069 POP DIRECTIONAL ISOLATE: Pops the above isolation
|
|
||||||
str = Zotero.getString('general.andJoiner', [`\u2068${a}\u2069`, `\u2068${b}\u2069`]);
|
|
||||||
}
|
}
|
||||||
else if (authors.length >= 3) {
|
else if (authors.length >= 3) {
|
||||||
str = (authors[0].family || authors[0].literal) + ' ' + Zotero.getString('general.etAl');
|
str = (authors[0].family || authors[0].literal) + ' ' + Zotero.getString('general.etAl');
|
||||||
|
|
Loading…
Reference in a new issue