Sha256: fed0e4d1eb97aba76d7b38a3bc5e22c56bef5665b682835a649ccfaa9498b864

Contents?: true

Size: 1.16 KB

Versions: 4

Compression:

Stored size: 1.16 KB

Contents

Feature: magic
  As a CSL cite processor hacker
  I want the test magic_PunctuationInQuoteSuffixTrue to pass

  @citation @magic
  Scenario: Punctuation In Quote Suffix True
    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>
      <locale xml:lang="en">
        <style-options punctuation-in-quote="true" />
      </locale>
      <citation>
        <layout suffix=".">
          <names suffix=", " variable="author">
            <name form="short" />
          </names>
          <text quotes="true" suffix=", " variable="title" />
          <date variable="issued">
            <date-part name="year" />
          </date>
        </layout>
      </citation>
    </style>
    """
    And the following input:
    """
    [{"author":[{"family":"Doe","given":"John","static-ordering":false}],"id":"ITEM-1","issued":{"date-parts":[[1900]]},"title":"Book A","type":"book"}]
    """
    When I cite all items
    Then the result should be:
    """
    Doe, “Book A,” 1900.
    """

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
citeproc-1.0.7 features/magic/PunctuationInQuoteSuffixTrue.feature
citeproc-1.0.6 features/magic/PunctuationInQuoteSuffixTrue.feature
citeproc-1.0.5 features/magic/PunctuationInQuoteSuffixTrue.feature
citeproc-1.0.4 features/magic/PunctuationInQuoteSuffixTrue.feature