1. Frank Bennett
  2. citeproc-js

Commits

Frank Bennett  committed 687b8b8

Fix bug affecting cs:label in cs:names when called in a macro via cs:substitute

  • Participants
  • Parent commits be0f041
  • Branches default

Comments (0)

Files changed (1)

File src/node_names.js

View file
             // (XXX should set label format for target variables of this node only)
             // (XXX segmented assignment is performed inside node_label.js)
             this.label = state.build.name_label;
-            state.build.name_label = undefined;
+            state.build.name_label = {};
 
             state.build.names_variables.pop();