Open Blesmol opened 3 years ago
According to documentation this should work.... https://golang.org/pkg/encoding/csv/
Although would be probably best here if this is also written out to CSV as \n
again
...because if the example text is printed as part of the legend, then the line is a comment. But the newline char is just printed into the file, creating a new non-comment line that then has the wrong format. D'oh!
If an example text contains an escaped newline (
\n
), then the generated CSV file will contain a real newline, thus breaking the CSV format.