kopia lustrzana https://github.com/backface/turtlestitch
fixed a glitch in the List >> asCSV() encoder
rodzic
4db5536eff
commit
600ec731d2
|
@ -412,7 +412,9 @@ List.prototype.asCSV = function () {
|
|||
function encodeCell(atomicValue) {
|
||||
var string = atomicValue.toString(),
|
||||
cell;
|
||||
if (string.indexOf('\"') === -1 && (string.indexOf('\n') === -1)) {
|
||||
if (string.indexOf('\"') === -1 &&
|
||||
(string.indexOf('\n') === -1) &&
|
||||
(string.indexOf('\,') === -1)) {
|
||||
return string;
|
||||
}
|
||||
cell = ['\"'];
|
||||
|
|
Ładowanie…
Reference in New Issue