diff --git a/docs.html b/docs.html index 3322aa1..088bc6e 100644 --- a/docs.html +++ b/docs.html @@ -248,11 +248,12 @@ { quotes: false, quoteChar: '"', + escapeChar: '"', delimiter: ",", header: true, newline: "\r\n" } - Set quotes to true to always enclose each field in quotes, or an array of true/false values correlating to specific to columns to force-quote. The caracter used to quote can be customized using quoteChar. The delimiter can be any valid delimiting character. The newline character(s) may also be customized. Setting header to false will omit the header row. + Set quotes to true to always enclose each field in quotes, or an array of true/false values correlating to specific to columns to force-quote. The character used to quote can be customized using quoteChar. The character used to escape the quoteChar within a field can be customized using escapeChar. The delimiter can be any valid delimiting character. The newline character(s) may also be customized. Setting header to false will omit the header row. @@ -337,6 +338,7 @@ var csv = Papa.unparse({ delimiter: "", // auto-detect newline: "", // auto-detect quoteChar: '"', + escapeChar: '"', header: false, dynamicTyping: false, preview: 0, @@ -382,6 +384,7 @@ var csv = Papa.unparse({ The newline sequence. Leave blank to auto-detect. Must be one of \r, \n, or \r\n. + quoteChar @@ -389,6 +392,14 @@ var csv = Papa.unparse({ The character used to quote fields. The quoting of all fields is not mandatory. Any field which is not quoted will correctly read. + + + escapeChar + + + The character used to escape the quote character within a field. If not set, this option will default to the value of quoteChar, meaning that the default escaping of quote character within a quoted field is using the quote character two times. (e.g. "column with ""quotes"" in text") + + header