Minor fix for the pubmed translator to undo HTML escapes, so that unicode values get included correctly.
This commit is contained in:
parent
5f8bd407c0
commit
04ebc3e72c
|
@ -2350,7 +2350,7 @@ REPLACE INTO translators VALUES ('303c2744-ea37-4806-853d-e1ca67be6818', '1.0.0b
|
|||
Zotero.wait();
|
||||
}');
|
||||
|
||||
REPLACE INTO translators VALUES ('27ee5b2c-2a5a-4afc-a0aa-d386642d4eed', '1.0.0b4.r5', '', '2008-01-14 20:00:00', '0', '100', '4', 'PubMed Central', 'Michael Berkowitz', 'http://[^/]*.nih.gov/',
|
||||
REPLACE INTO translators VALUES ('27ee5b2c-2a5a-4afc-a0aa-d386642d4eed', '1.0.0b4.r5', '', '2008-01-31 09:28:00', '0', '100', '4', 'PubMed Central', 'Michael Berkowitz', 'http://[^/]*.nih.gov/',
|
||||
'function detectWeb(doc, url) {
|
||||
if (doc.evaluate(''//table[@id="ResultPanel"]//td[2]'', doc, null, XPathResult.ANY_TYPE, null).iterateNext()) {
|
||||
return "multiple";
|
||||
|
@ -2403,7 +2403,7 @@ REPLACE INTO translators VALUES ('27ee5b2c-2a5a-4afc-a0aa-d386642d4eed', '1.0.0b
|
|||
var newItem = new Zotero.Item("journalArticle");
|
||||
|
||||
for (var tag in tagMap) {
|
||||
newItem[tagMap[tag]] = tags[tag];
|
||||
newItem[tagMap[tag]] = Zotero.Utilities.unescapeHTML(tags[tag]);
|
||||
}
|
||||
|
||||
for (var i in meta) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user