version bump 0.3.6: updating SSF

Addresses issue from LO Calc files generating invalid formats.

Link: https://github.com/SheetJS/js-xls/issues/24
This commit is contained in:
SheetJS 2013-12-31 11:42:46 -05:00
parent a23e7901fe
commit 37753d8230
4 changed files with 4 additions and 4 deletions

@ -260,7 +260,7 @@ function eval_fmt(fmt, v, opts, flen) {
while(i < fmt.length) {
switch((c = fmt[i])) {
case '"': /* Literal text */
for(o="";fmt[++i] !== '"';) o += fmt[i];
for(o="";fmt[++i] !== '"' && i < fmt.length;) o += fmt[i];
out.push({t:'t', v:o}); ++i; break;
case '\\': var w = fmt[++i], t = "()".indexOf(w) === -1 ? 't' : w;
out.push({t:t, v:w}); ++i; break;

@ -1,6 +1,6 @@
{
"name": "xlsx",
"version": "0.3.5",
"version": "0.3.6",
"author": "sheetjs",
"description": "(one day) a full-featured XLSX parser and writer. For now, primitive parser",
"keywords": [ "xlsx", "office", "excel", "spreadsheet" ],

@ -1 +1 @@
Subproject commit a6b967bb3df19fbced91c1124c759e7deb152513
Subproject commit 9c0f02fe3a2c682ec5b1a2285b9f976902284b87

@ -263,7 +263,7 @@ function eval_fmt(fmt, v, opts, flen) {
while(i < fmt.length) {
switch((c = fmt[i])) {
case '"': /* Literal text */
for(o="";fmt[++i] !== '"';) o += fmt[i];
for(o="";fmt[++i] !== '"' && i < fmt.length;) o += fmt[i];
out.push({t:'t', v:o}); ++i; break;
case '\\': var w = fmt[++i], t = "()".indexOf(w) === -1 ? 't' : w;
out.push({t:t, v:w}); ++i; break;