collective / collective/collective.importexport

Support multiline text

Open
#8 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
2
Forks
7
PR merge metrics
No merged PRs in 30d

Description

The following import results in a value without linefeeds:

```
id,product_highlights
gartenholzreiniger,"für alle Hölzer im Außenbereich
auch für Kunststoffmöbel
einfache Anwendung"
```

reader seems to be set incorrectly in [import_view.py](https://github.com/collective/collective.importexport/blob/master/src/collective/importexport/browser/import_view.py#L87-L90) :

```
reader = csv.DictReader(data.splitlines(),
delimiter=",",
dialect="excel",
quotechar='"')
```
See https://docs.python.org/2/library/csv.html#csv.DictReader

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.