| 1 | /* |
|---|
| 2 | * Copyright (c) 2009 and 2010 Frank G. Bennett, Jr. All Rights |
|---|
| 3 | * Reserved. |
|---|
| 4 | * |
|---|
| 5 | * The contents of this file are subject to the Common Public |
|---|
| 6 | * Attribution License Version 1.0 (the “License”); you may not use |
|---|
| 7 | * this file except in compliance with the License. You may obtain a |
|---|
| 8 | * copy of the License at: |
|---|
| 9 | * |
|---|
| 10 | * http://bitbucket.org/fbennett/citeproc-js/src/tip/LICENSE. |
|---|
| 11 | * |
|---|
| 12 | * The License is based on the Mozilla Public License Version 1.1 but |
|---|
| 13 | * Sections 14 and 15 have been added to cover use of software over a |
|---|
| 14 | * computer network and provide for limited attribution for the |
|---|
| 15 | * Original Developer. In addition, Exhibit A has been modified to be |
|---|
| 16 | * consistent with Exhibit B. |
|---|
| 17 | * |
|---|
| 18 | * Software distributed under the License is distributed on an “AS IS” |
|---|
| 19 | * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See |
|---|
| 20 | * the License for the specific language governing rights and limitations |
|---|
| 21 | * under the License. |
|---|
| 22 | * |
|---|
| 23 | * The Original Code is the citation formatting software known as |
|---|
| 24 | * "citeproc-js" (an implementation of the Citation Style Language |
|---|
| 25 | * [CSL]), including the original test fixtures and software located |
|---|
| 26 | * under the ./std subdirectory of the distribution archive. |
|---|
| 27 | * |
|---|
| 28 | * The Original Developer is not the Initial Developer and is |
|---|
| 29 | * __________. If left blank, the Original Developer is the Initial |
|---|
| 30 | * Developer. |
|---|
| 31 | * |
|---|
| 32 | * The Initial Developer of the Original Code is Frank G. Bennett, |
|---|
| 33 | * Jr. All portions of the code written by Frank G. Bennett, Jr. are |
|---|
| 34 | * Copyright (c) 2009 and 2010 Frank G. Bennett, Jr. All Rights Reserved. |
|---|
| 35 | * |
|---|
| 36 | * Alternatively, the contents of this file may be used under the |
|---|
| 37 | * terms of the GNU Affero General Public License (the [AGPLv3] |
|---|
| 38 | * License), in which case the provisions of [AGPLv3] License are |
|---|
| 39 | * applicable instead of those above. If you wish to allow use of your |
|---|
| 40 | * version of this file only under the terms of the [AGPLv3] License |
|---|
| 41 | * and not to allow others to use your version of this file under the |
|---|
| 42 | * CPAL, indicate your decision by deleting the provisions above and |
|---|
| 43 | * replace them with the notice and other provisions required by the |
|---|
| 44 | * [AGPLv3] License. If you do not delete the provisions above, a |
|---|
| 45 | * recipient may use your version of this file under either the CPAL |
|---|
| 46 | * or the [AGPLv3] License.” |
|---|
| 47 | */ |
|---|
| 48 | |
|---|
| 49 | >>===== MODE =====>> |
|---|
| 50 | bibliography |
|---|
| 51 | <<===== MODE =====<< |
|---|
| 52 | |
|---|
| 53 | Fault reported by Sean Takats. |
|---|
| 54 | |
|---|
| 55 | >>===== RESULT =====>> |
|---|
| 56 | <div class="csl-bib-body"> |
|---|
| 57 | <div class="csl-entry">Jones, Colin. <i>Bourgeois Revolution Revivified: 1789 and Social Change</i>. Edited by Colin Lucas. Oxford: Clarendon Press, 1991.</div> |
|---|
| 58 | </div> |
|---|
| 59 | <<===== RESULT =====<< |
|---|
| 60 | |
|---|
| 61 | |
|---|
| 62 | >>===== CSL =====>> |
|---|
| 63 | chicago-fullnote-bibliography.csl |
|---|
| 64 | <<===== CSL =====<< |
|---|
| 65 | |
|---|
| 66 | |
|---|
| 67 | >>===== INPUT =====>> |
|---|
| 68 | [ |
|---|
| 69 | { |
|---|
| 70 | "id": "ITEM-1", |
|---|
| 71 | "title":"Bourgeois Revolution Revivified: 1789 and Social Change", |
|---|
| 72 | "author": [ |
|---|
| 73 | { |
|---|
| 74 | "family": "Jones", |
|---|
| 75 | "given": "Colin" |
|---|
| 76 | } |
|---|
| 77 | ], |
|---|
| 78 | "editor": [ |
|---|
| 79 | { |
|---|
| 80 | "family": "Lucas", |
|---|
| 81 | "given": "Colin" |
|---|
| 82 | } |
|---|
| 83 | ], |
|---|
| 84 | "publisher": "Clarendon Press", |
|---|
| 85 | "publisher-place": "Oxford", |
|---|
| 86 | "issued": { |
|---|
| 87 | "date-parts":[ |
|---|
| 88 | [1991] |
|---|
| 89 | ] |
|---|
| 90 | }, |
|---|
| 91 | "type": "book" |
|---|
| 92 | } |
|---|
| 93 | ] |
|---|
| 94 | <<===== INPUT =====<< |
|---|