Meaningful whitespace removed from JSON REST API

Thanks for reporting this. The REST API uses the UNIXREF XML to generate the JSON. From looking at this discussion it seems like the issue is happening before the REST API gets the data, and at some point shortly after the metadata is deposited. The white spaces are swapped for line breaks. Curiously, though, for 10.1371/journal.pgen.1010373 the XML looks similar but the white space is included in the REST API, which would suggest that the issue is elsewhere. We’ll take a look.

1 Like