Skip to content

Commit b0e68a9

Browse files
committed
Add escape slash to cell matcher
1 parent 9f1ba60 commit b0e68a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bits/67_wsxml.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ function write_ws_xml_cell(cell/*:Cell*/, ref, ws, opts/*::, idx, wb*/)/*:string
288288
}
289289

290290
var parse_ws_xml_data = (function() {
291-
var cellregex = /<(?:\w+:)?c[ >]/, rowregex = /<\/(?:\w+:)?row>/;
291+
var cellregex = /<(?:\w+:)?c[ \/>]/, rowregex = /<\/(?:\w+:)?row>/;
292292
var rregex = /r=["']([^"']*)["']/, isregex = /<(?:\w+:)?is>([\S\s]*?)<\/(?:\w+:)?is>/;
293293
var refregex = /ref=["']([^"']*)["']/;
294294
var match_v = matchtag("v"), match_f = matchtag("f");

0 commit comments

Comments
 (0)