diff --git a/bits/75_xlml.js b/bits/75_xlml.js index 2487ca7b9..3fdd98af6 100644 --- a/bits/75_xlml.js +++ b/bits/75_xlml.js @@ -183,6 +183,7 @@ function parse_xlml_xml(d, _opts)/*:Workbook*/ { else str = utf8read(str); } var opening = str.slice(0, 1024).toLowerCase(), ishtml = false; + opening = opening.replace(/".*?"/g, ""); if((opening.indexOf(">") & 1023) > Math.min((opening.indexOf(",") & 1023), (opening.indexOf(";")&1023))) { var _o = dup(opts); _o.type = "string"; return PRN.to_workbook(str, _o); } if(opening.indexOf("= 0) ishtml = true; }); if(ishtml) return HTML_.to_workbook(str, opts);