Skip to content

Commit

Permalink
Fix problem with style IDs that start with https
Browse files Browse the repository at this point in the history
  • Loading branch information
egh committed Aug 28, 2019
1 parent 6355d7d commit 79dbdb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extension/content/modules/Core.jsm
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function parseEasyKey(key, zotero) {
function fixStyleId(styleId) {
if (!styleId) {
return 'http://www.zotero.org/styles/chicago-note-bibliography';
} else if (!styleId.match(/^http:/)) {
} else if (!styleId.match(/^https?:/)) {
return 'http://www.zotero.org/styles/' + styleId;
} else {
return styleId;
Expand Down

0 comments on commit 79dbdb4

Please sign in to comment.