Sha256: f180b0aa86caca8e0f4def859c6c09dc7761068a7e3d5bf9e8803cd5d7230bb7

Contents?: true

Size: 1.61 KB

Versions: 4

Compression:

Stored size: 1.61 KB

Contents

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

  @bibliography @flipflop @non-standard
  Scenario: Italics With Ok
    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 variable="title" suffix=". " font-style="italic"/>
          	<text value="BOGUS"/>
        </layout>
      </citation>
      <bibliography>
        <layout>
          <group suffix=".">
            <text variable="title" suffix=". " font-style="italic"/>
            <date variable="issued" date-parts="year" form="text" suffix=". "/>
            <text variable="volume" suffix=" "/>
            <text variable="container-title"/>
            <text variable="page-first" prefix=" "/>
            <text variable="authority" prefix=" (" suffix=")"/>
          </group>
        </layout>
      </bibliography>
    </style>
    """
    And the following input:
    """
    [{"authority":"E.D. Wisc.","container-title":"F. Supp.","id":"ITEM-1","issued":{"date-parts":[[1972]]},"page":"1078-1100","title":"Lessard <span class=\"nodecor\">v.</span> Schmidt","type":"legal_case","volume":"349"}]
    """
    When I render the entire bibliography
    Then the bibliography should be:
    """
    <div class="csl-bib-body">
      <div class="csl-entry"><i>Lessard <span style="font-style:normal;">v.</span> Schmidt</i>. 1972. 349 F. Supp. 1078 (E.D. Wisc.).</div>
    </div>
    """

Version data entries

4 entries across 4 versions & 1 rubygems

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