Sha256: 33b61232eeac0a827579c6a53252fae5ad8f2f199251cdb4e01c473f236ff130
Contents?: true
Size: 1.2 KB
Versions: 4
Compression:
Stored size: 1.2 KB
Contents
Feature: magic As a CSL cite processor hacker I want the test magic_SuppressDuplicateVariableRendering to pass @citation @magic Scenario: Suppress Duplicate Variable Rendering Given the following style: """ <style xmlns="http://purl.org/net/xbiblio/csl" class="note" version="1.0"> <info> <id /> <title /> <updated>2009-08-10T04:49:00+09:00</updated> </info> <citation> <layout> <text prefix="Should print this: " variable="title" /> <text prefix=" … and this: " variable="title" /> <names variable="author" prefix=" … but this only once: "> <name/> <substitute> <names variable="editor"/> </substitute> </names> <names variable="editor"> <name/> </names> </layout> </citation> </style> """ And the following input: """ [{"editor":[{"literal":"Blob"}],"id":"item-1","title":"Book A","type":"book"}] """ When I cite all items Then the result should be: """ Should print this: Book A … and this: Book A … but this only once: Blob """
Version data entries
4 entries across 4 versions & 1 rubygems