Sha256: 7685876458e11cffe669c14b01c0e6c2e8f0895f6be95e4bc5950ee9d23d4fd5

Contents?: true

Size: 818 Bytes

Versions: 4

Compression:

Stored size: 818 Bytes

Contents

Feature: bugreports
  As a CSL cite processor hacker
  I want the test bugreports_NumberAffixEscape to pass

  @citation @bugreports
  Scenario: Number Affix Escape
    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>
          <group prefix="(" suffix=")">
            <number variable="edition" prefix="ยช"/>
          </group>
        </layout>
      </citation>
    </style>
    """
    And the following input:
    """
    [{"edition":"2","id":"ITEM-1","type":"book"}]
    """
    When I cite all items
    Then the result should be:
    """
    (<sup>a</sup>2)
    """

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
citeproc-1.0.7 features/bugreports/NumberAffixEscape.feature
citeproc-1.0.6 features/bugreports/NumberAffixEscape.feature
citeproc-1.0.5 features/bugreports/NumberAffixEscape.feature
citeproc-1.0.4 features/bugreports/NumberAffixEscape.feature