fix csv (again) - added tests this time. Started on #27, #36

This commit is contained in:
2025-11-18 10:09:29 -07:00
parent dae3b57f73
commit d69966bc01
6 changed files with 176 additions and 22 deletions

View File

@@ -38,9 +38,9 @@ impl CellType {
// escape string of it has a comma
if display.contains(CSV_DELIMITER) {
format!("\"{display}\"{CSV_DELIMITER}")
format!("\"{display}\"")
} else {
format!("{display}{CSV_DELIMITER}")
display
}
}