Substitution of formulas

String, started with '=' is considered as formula.
Formulas must be presented in EN(US) equivalent, as it always stored in OOXML data format.
This commit is contained in:
SkyKilla
2017-10-09 10:20:21 +07:00
committed by GitHub
parent 0454a128be
commit f34ae827fc
+1 -1
View File
@@ -736,7 +736,7 @@ module.exports = (function() {
var formula = new etree.Element("f");
formula.text = substitution.substr(1);
cell.insert(1, formula);
delete cell.attrib.t;
delete cell.attrib.t; //cellValue will be deleted later
return formula.text
}