Sha256: c2a5a99cc61e719fcdcfc4eab510defd4d213a1edcfb0abd366ca89d8c6174ed

Contents?: true

Size: 998 Bytes

Versions: 4

Compression:

Stored size: 998 Bytes

Contents

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

  @citation @magic
  Scenario: Punctuation In Quote False Suppress Extra
    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="false" />
      </locale>
      <citation>
        <layout>
          <text quotes="true" variable="title" />
          <text variable="container-title" prefix=". "/>
        </layout>
      </citation>
    </style>
    """
    And the following input:
    """
    [{"container-title":"Journal B","id":"ITEM-1","title":"Article A?","type":"article-journal"}]
    """
    When I cite all items
    Then the result should be:
    """
    “Article A?” Journal B
    """

Version data entries

4 entries across 4 versions & 1 rubygems

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