Fix missing space after formatted words in custom citations
This commit is contained in:
parent
ad5ac7ba64
commit
5b3a3a1ad2
1 changed files with 1 additions and 0 deletions
|
@ -167,6 +167,7 @@
|
||||||
output = output.replace("</p>", "\\par ", "g");
|
output = output.replace("</p>", "\\par ", "g");
|
||||||
output = output.replace(/<\/?div[^>]*>/g, "");
|
output = output.replace(/<\/?div[^>]*>/g, "");
|
||||||
output = Zotero.Utilities.prototype.trim(output);
|
output = Zotero.Utilities.prototype.trim(output);
|
||||||
|
output = output.replace(" ", " ", "g");
|
||||||
output = Zotero.Utilities.prototype.unescapeHTML(output);
|
output = Zotero.Utilities.prototype.unescapeHTML(output);
|
||||||
if(output.substr(-4) == "\\par") output = output.substr(0, output.length-4);
|
if(output.substr(-4) == "\\par") output = output.substr(0, output.length-4);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue