features/names.feature in citeproc-ruby-1.1.2 vs features/names.feature in citeproc-ruby-1.1.3
- old
+ new
@@ -86,10 +86,11 @@
Then the results should be:
| Doe, John |
| UNKNOWN |
| Doe, John, and Jane Doe |
+
Scenario: Suppression after substitutions
Given the following style node:
"""
<group delimiter=", ">
<names variable="author">
@@ -99,20 +100,25 @@
<text variable="title"/>
</substitute>
</names>
<names variable="editor">
<label prefix=" (" suffix=")"/>
+ <substitute>
+ <text variable="title"/>
+ </substitute>
</names>
<text variable="title" text-case="uppercase"/>
</group>
"""
When I render the following citation items as "html":
| editor | author | title |
| John Doe | Jane Doe | The Title |
+ | | Jane Doe | The Title |
| John Doe | | The Title |
| | | The Title |
Then the results should be:
| Doe, Jane, John Doe (editor), THE TITLE |
+ | Doe, Jane, The Title |
| Doe, John, THE TITLE |
| The Title |
Scenario: Subsequent author substitutes complete-all with different roles
Given the following style node: