Fix adding formatted custom citations in OpenOffice.org
This commit is contained in:
parent
84486e24ac
commit
d9c30ebc59
1 changed files with 1 additions and 2 deletions
|
@ -865,8 +865,7 @@ Zotero.Integration.Document.prototype._updateDocument = function(forceCitations,
|
||||||
&& !citation.properties.dontUpdate) {
|
&& !citation.properties.dontUpdate) {
|
||||||
// For ReferenceMarks with formatting, we need to set the text again, because
|
// For ReferenceMarks with formatting, we need to set the text again, because
|
||||||
// setting the field code removes formatting from the mark. I don't like this.
|
// setting the field code removes formatting from the mark. I don't like this.
|
||||||
field.setText(citation.properties.custom ? citation.properties.custom
|
field.setText(formattedCitation, isRich);
|
||||||
: citation.properties.formattedCitation, isRich);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue