mirror of
https://github.com/gosticks/react-bootstrap-table2.git
synced 2026-07-01 06:30:11 +00:00
fix #904
This commit is contained in:
@@ -42,7 +42,7 @@ export const transform = (
|
||||
cellContent = m.formatter(cellContent, row, rowIndex, m.formatExtraData);
|
||||
}
|
||||
if (m.type === String) {
|
||||
return `"${cellContent}"`;
|
||||
return `"${`${cellContent}`.replace(/"/g, '""')}"`;
|
||||
}
|
||||
return cellContent;
|
||||
}).join(separator)).join('\n');
|
||||
|
||||
Reference in New Issue
Block a user