Fix handling of CSL 1.0 dependent styles
This commit is contained in:
parent
a63684a785
commit
f51e6dd84a
1 changed files with 1 additions and 1 deletions
|
@ -398,7 +398,7 @@ Zotero.Style = function(arg) {
|
|||
|
||||
this.source = null;
|
||||
for each(var link in xml.info.link) {
|
||||
if(link.@rel == "source") {
|
||||
if(link.@rel == "source" || link.@rel == "independent-parent") {
|
||||
this.source = link.@href.toString();
|
||||
if(this.source == this.styleID) {
|
||||
throw "Style with ID "+this.styleID+" references itself as source";
|
||||
|
|
Loading…
Reference in a new issue