From 0748bff0572c57ce8a62a92f19071c16a0a76c02 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Fri, 3 Nov 2017 16:22:19 +0000 Subject: Add test for missing table styles --- lib/docx/styles-reader.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib') diff --git a/lib/docx/styles-reader.js b/lib/docx/styles-reader.js index 7bf5475..ae288ab 100644 --- a/lib/docx/styles-reader.js +++ b/lib/docx/styles-reader.js @@ -16,6 +16,8 @@ function Styles(paragraphStyles, characterStyles, tableStyles) { }; } +Styles.EMPTY = new Styles({}, {}, {}); + function readStylesXml(root) { var paragraphStyles = {}; var characterStyles = {}; -- cgit v1.2.3