This repository aims at providing to the global IT Sustainability community a vendor-neutral, fact-based, non-judgmental and exhaustive repository of the tools and services available to assess the environmental footprint of IT components.
2
stars
5
forks
source link
CSV breaks if we enter a multiline comment that includes new line characters #58
Bug description
The data CSV file breaks if we submit a field that contains multiline text (a text that contains new line characters).
The resulting CSV is broken into multilines and
To Reproduce
enter
key in thequick_description
field).Example of broken PR: https://github.com/Boavizta/ict-sustainability-tools/pull/57
Expected behavior
Either make Datami widget quote the values in the CSV or/and escape new line character prior to submitting the form.
JSON OUTPUT
Additional context
Maybe I miss something obvious in the way to configure the widget to prevent this behaviour....
If we cannot fix it, we may also just completly forbid multiline (or
long
) text. But this may be impractical to display and edit the description.