Commits

Frank Bennett committed 94e3a54

Place attribute on cs:citation as provided in the CSL spec.

  • Participants
  • Parent commits 5bd7e2b

Comments (0)

Files changed (1)

processor-tests/humans/sort_CiteGroupDelimiter.txt

 
 >>===== CITATIONS =====>>
 [
-  [
-    {
-      "citationID": "CITATION-1",
-      "citationItems": [
+    [
         {
-          "id": "ITEM-1"
-        },
-        {
-          "id": "ITEM-3"
-        },
-        {
-          "id": "ITEM-2"
-        }
-      ],
-      "properties": {
-        "noteIndex": 1
-      }
-    },
-    [],
-    []
-  ]
+            "citationID": "CITATION-1", 
+            "citationItems": [
+                {
+                    "id": "ITEM-1"
+                }, 
+                {
+                    "id": "ITEM-3"
+                }, 
+                {
+                    "id": "ITEM-2"
+                }
+            ], 
+            "properties": {
+                "noteIndex": 1
+            }
+        }, 
+        [], 
+        []
+    ]
 ]
 <<===== CITATIONS =====<<
 
       <name form="short" />
     </names>
   </macro>
-  <citation>
+  <citation cite-group-delimiter=", ">
     <sort>
       <key variable="issued" />
     </sort>
-    <layout  cite-group-delimiter=", " delimiter="; ">
+    <layout delimiter="; ">
       <group delimiter=" ">
         <text macro="author" />
         <date form="text" variable="issued" date-parts="year"/>