diff --git a/lib/xlsx/xform/sheet/sheet-format-properties-xform.js b/lib/xlsx/xform/sheet/sheet-format-properties-xform.js
index ae13083ce..4756c0f9d 100644
--- a/lib/xlsx/xform/sheet/sheet-format-properties-xform.js
+++ b/lib/xlsx/xform/sheet/sheet-format-properties-xform.js
@@ -13,6 +13,7 @@ class SheetFormatPropertiesXform extends BaseXform {
outlineLevelRow: model.outlineLevelRow,
outlineLevelCol: model.outlineLevelCol,
'x14ac:dyDescent': model.dyDescent,
+ customHeight: model.defaultRowHeight === 0 ? '0' : '1',
};
if (_.some(attributes, value => value !== undefined)) {
xmlStream.leafNode('sheetFormatPr', attributes);
diff --git a/spec/unit/xlsx/xform/sheet/data/sheet.1.2.xml b/spec/unit/xlsx/xform/sheet/data/sheet.1.2.xml
index 5da13f0cd..e9e107ad1 100644
--- a/spec/unit/xlsx/xform/sheet/data/sheet.1.2.xml
+++ b/spec/unit/xlsx/xform/sheet/data/sheet.1.2.xml
@@ -4,7 +4,7 @@
-
+
diff --git a/spec/unit/xlsx/xform/sheet/data/sheet.2.2.xml b/spec/unit/xlsx/xform/sheet/data/sheet.2.2.xml
index 025cc7b01..c2b6f690b 100644
--- a/spec/unit/xlsx/xform/sheet/data/sheet.2.2.xml
+++ b/spec/unit/xlsx/xform/sheet/data/sheet.2.2.xml
@@ -4,7 +4,7 @@
-
+
diff --git a/spec/unit/xlsx/xform/sheet/data/sheet.3.2.xml b/spec/unit/xlsx/xform/sheet/data/sheet.3.2.xml
index 11ab0ca29..2f088c6a8 100644
--- a/spec/unit/xlsx/xform/sheet/data/sheet.3.2.xml
+++ b/spec/unit/xlsx/xform/sheet/data/sheet.3.2.xml
@@ -1,6 +1,6 @@
-
+
\ No newline at end of file
diff --git a/spec/unit/xlsx/xform/sheet/data/sheet.5.2.xml b/spec/unit/xlsx/xform/sheet/data/sheet.5.2.xml
index 27f9ae91d..6febafbc6 100644
--- a/spec/unit/xlsx/xform/sheet/data/sheet.5.2.xml
+++ b/spec/unit/xlsx/xform/sheet/data/sheet.5.2.xml
@@ -1,7 +1,7 @@
-
+
diff --git a/spec/unit/xlsx/xform/sheet/data/sheet.6.2.xml b/spec/unit/xlsx/xform/sheet/data/sheet.6.2.xml
index 6dfe141fd..0799e3c60 100644
--- a/spec/unit/xlsx/xform/sheet/data/sheet.6.2.xml
+++ b/spec/unit/xlsx/xform/sheet/data/sheet.6.2.xml
@@ -1,7 +1,7 @@
-
+
diff --git a/spec/unit/xlsx/xform/sheet/data/sheet.7.2.xml b/spec/unit/xlsx/xform/sheet/data/sheet.7.2.xml
index db174c7f9..0b5bcb417 100644
--- a/spec/unit/xlsx/xform/sheet/data/sheet.7.2.xml
+++ b/spec/unit/xlsx/xform/sheet/data/sheet.7.2.xml
@@ -4,7 +4,7 @@
-
+
diff --git a/spec/unit/xlsx/xform/sheet/sheet-format-properties-xform.spec.js b/spec/unit/xlsx/xform/sheet/sheet-format-properties-xform.spec.js
index 2388db28e..a9f6e9b23 100644
--- a/spec/unit/xlsx/xform/sheet/sheet-format-properties-xform.spec.js
+++ b/spec/unit/xlsx/xform/sheet/sheet-format-properties-xform.spec.js
@@ -16,7 +16,7 @@ const expectations = [
outlineLevelCol: 2,
},
xml:
- '',
+ '',
parsedModel: {
defaultRowHeight: 14.4,
dyDescent: 0.55,
@@ -30,8 +30,8 @@ const expectations = [
create() {
return new SheetFormatPropertiesXform();
},
- preparedModel: { defaultRowHeight: 14.4, dyDescent: 0.55 },
- xml: '',
+ preparedModel: {defaultRowHeight: 14.4, dyDescent: 0.55},
+ xml: '',
parsedModel: {
defaultRowHeight: 14.4,
dyDescent: 0.55,