Hyperlink DOI in reports fixes #388
This commit is contained in:
parent
3c653903c5
commit
2881ad1643
1 changed files with 5 additions and 0 deletions
|
@ -255,6 +255,11 @@ Zotero.Report = new function() {
|
||||||
fieldText = '<a href="' + escapeXML(arr[i]) + '">'
|
fieldText = '<a href="' + escapeXML(arr[i]) + '">'
|
||||||
+ escapeXML(arr[i]) + '</a>';
|
+ escapeXML(arr[i]) + '</a>';
|
||||||
}
|
}
|
||||||
|
// Hyperlink DOI
|
||||||
|
else if (i == 'DOI') {
|
||||||
|
fieldText = '<a href="' + escapeXML('http://doi.org/' + arr[i]) + '">'
|
||||||
|
+ escapeXML(arr[i]) + '</a>';
|
||||||
|
}
|
||||||
// Remove SQL date from multipart dates
|
// Remove SQL date from multipart dates
|
||||||
// (e.g. '2006-00-00 Summer 2006' becomes 'Summer 2006')
|
// (e.g. '2006-00-00 Summer 2006' becomes 'Summer 2006')
|
||||||
else if (i=='date') {
|
else if (i=='date') {
|
||||||
|
|
Loading…
Reference in a new issue