From 87105c192933b043a04b1ff00abd575805bb3c65 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Mon, 8 Apr 2013 20:32:33 +0100 Subject: Remove properties from paragraph --- lib/document-to-html.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/document-to-html.js') diff --git a/lib/document-to-html.js b/lib/document-to-html.js index a1b2ec6..a2d7030 100644 --- a/lib/document-to-html.js +++ b/lib/document-to-html.js @@ -46,7 +46,7 @@ function DocumentConverter(options) { } function styleForParagraph(element) { - return paragraphStyleMap[element.properties.styleName] || defaultParagraphStyle; + return paragraphStyleMap[element.styleName] || defaultParagraphStyle; } function convertRun(run, html) { -- cgit v1.2.3