Sha256: dac3e416a126f5b025f2a2eb755db758b9c51a1aa7fe9170fdc15cdb2d28a41d

Contents?: true

Size: 1.05 KB

Versions: 4

Compression:

Stored size: 1.05 KB

Contents

Feature: flipflop
  As a CSL cite processor hacker
  I want the test flipflop_ItalicsFlipped to pass

  @citation @flipflop @citation-items
  Scenario: Italics Flipped
    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 font-style="italic" variable="title" />
        </layout>
      </citation>
    </style>
    """
    And the following input:
    """
    [{"id":"ITEM-1","title":"One Two <i>Three</i> Four Five!","type":"book"},{"id":"ITEM-2","title":"One <i>Two <i>Three</i> Four</i> Five!","type":"book"}]
    """
    When I cite the following items:
    """
    [[{"id":"ITEM-1"}],[{"id":"ITEM-2"}]]
    """
    Then the results should be:
      | <i>One Two <span style="font-style:normal;">Three</span> Four Five!</i>  |
      | <i>One <span style="font-style:normal;">Two <i>Three</i> Four</span> Five!</i> |

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
citeproc-1.0.7 features/flipflop/ItalicsFlipped.feature
citeproc-1.0.6 features/flipflop/ItalicsFlipped.feature
citeproc-1.0.5 features/flipflop/ItalicsFlipped.feature
citeproc-1.0.4 features/flipflop/ItalicsFlipped.feature