fiduswriter / biblatex-csl-converter

A set of JavaScript converters: bib(la)tex => json, json => csl, and json => biblatex
GNU Lesser General Public License v3.0
34 stars 10 forks source link

spaces in list elements #70

Closed retorquere closed 7 years ago

retorquere commented 7 years ago

When I parse this

@Book{Knox_1963_book,
  Publisher                = {{A}cademic Press -- New York and London},
}

I get this:

{
  "references": {
    "0": {
      "bib_type": "book",
      "entry_key": "Knox_1963_book",
      "fields": {
        "publisher": [
          [
            {
              "type": "text",
              "text": "Academic Press -- New York "
            }
          ],
          [
            {
              "type": "text",
              "text": " London"
            }
          ]
        ]
      }
    }
  },
  "errors": [],
  "warnings": []
}

but I had expected there to be no spaces after "New York" and before "London".