You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The csv output formatter gets confused when commas exist in the text being outputted. The commas could simply be removed is probably the easiest.
As well newline characters seem to confused it too for instance '\n' in the description causes problems.
fixing could be as simple as doing:
csvreport.kt:82:
element.replace(",", " ").replace("\n"," ")
I haven't done a plugin change before, so not entirely sure how to test out the change locally before committing.
I have good results with the json output, so I'm using dasel to convert json to csv and it's close to what I want, but the csvwriter output would be better.
I see a similar problem with HTML output being mixed up, but I think some others were seeing similar issues.
The text was updated successfully, but these errors were encountered:
the default escape character for CSV is " which has to be escaped with a
double ""
Additionally, when a column contains any of these character it has to be put inside
quotes:
- " (double quote)
- , (comma)
- ' (single quote)
- \ (backslash)
- \n (new line)
the default escape character for CSV is " which has to be escaped with a
double ""
Additionally, when a column contains any of these character it has to be put inside
quotes:
- " (double quote)
- , (comma)
- ' (single quote)
- \ (backslash)
- \n (new line)
Co-authored-by: Daniele Segato <daniele.segato@neosperience.com>
The csv output formatter gets confused when commas exist in the text being outputted. The commas could simply be removed is probably the easiest.
As well newline characters seem to confused it too for instance '\n' in the description causes problems.
fixing could be as simple as doing:
csvreport.kt:82:
element.replace(",", " ").replace("\n"," ")
I haven't done a plugin change before, so not entirely sure how to test out the change locally before committing.
I have good results with the json output, so I'm using dasel to convert json to csv and it's close to what I want, but the csvwriter output would be better.
I see a similar problem with HTML output being mixed up, but I think some others were seeing similar issues.
The text was updated successfully, but these errors were encountered: