www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 75ee7b62160363717f8908ad04936e311139c70e
parent 60e5ab812400d2bf32c3902586536b15a1e43c6b
Author: Dan Stillman <dstillman@zotero.org>
Date:   Sat, 26 Apr 2014 02:20:02 -0400

Merge pull request #399 from Ashley-Wright/388-link-doi

Hyperlink DOI in reports fixes #388
Diffstat:
Mchrome/content/zotero/xpcom/report.js | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/chrome/content/zotero/xpcom/report.js b/chrome/content/zotero/xpcom/report.js @@ -255,6 +255,11 @@ Zotero.Report = new function() { fieldText = '<a href="' + escapeXML(arr[i]) + '">' + 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 // (e.g. '2006-00-00 Summer 2006' becomes 'Summer 2006') else if (i=='date') {