denshoproject / ddr-cmdln

Command-line tools for automating the Densho Digital Repository's various processes.
Other
0 stars 2 forks source link

ddr-export inserts extra newline chars in entity 'topics' value #48

Closed GeoffFroh closed 6 years ago

GeoffFroh commented 6 years ago

When exporting entities and there is more than one value present in the 'topics' attribute, ddr-export inserts a spurious \n char for each subsequent KV pair in the list. Example:

"term:Military service: Veterans' organizations|id:19;\nterm:World War II: Military service|id:88;\nterm:World War II: Military service: 100th Infantry Battalion|id:421",

gjost commented 6 years ago

@GeoffFroh does it do this to the other listofdicts fields, e.g. facility, chronology, geology?

gjost commented 6 years ago

Should be fixed in commit d4f6468