>>===== MODE =====>>
citation
<<===== MODE =====<<


>>===== OPTIONS =====>>
{
    "wrap_url_and_doi": true
}
<<===== OPTIONS =====<<

>>===== CITATION-ITEMS =====>>
[
  [
    {
      "id": "ITEM-1"
    }
  ],
  [
    {
      "id": "ITEM-2"
    }
  ]
]
<<===== CITATION-ITEMS =====<<

Second use case added to cover a bug report by Derek Sifford:

    https://github.com/Juris-M/citeproc-js/issues/101

>>===== RESULT =====>>
<i><a href="http://something.com">http://something.com</a></i> [following node].
<a href="https://aliem.com">https://aliem.com</a>, [following node].
<<===== RESULT =====<<


>>===== CSL =====>>
<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>
      <choose>
        <if type="book">
          <group delimiter=" " suffix=".">
            <text font-style="italic" variable="URL"/>
            <text value="[following node]"/>
          </group>
        </if>
        <else-if type="webpage">
          <group delimiter=", " suffix=".">
            <text variable="URL"/>
            <text value="[following node]"/>
          </group>
        </else-if>
      </choose>
    </layout>
  </citation>
</style>
<<===== CSL =====<<


>>===== INPUT =====>>
[
    {
        "id": "ITEM-1", 
        "title": "His Anonymous Life", 
        "URL": "http://something.com",
        "type": "book"
    },
{
    "type": "webpage",
    "title": "His Documented Life",
    "URL": "https://aliem.com",
    "accessed": {
        "raw": "2019/03/28"
    },
    "id": "ITEM-2"
}
]
<<===== INPUT =====<<
