aboutsummaryrefslogtreecommitdiff
path: root/lib/document-to-html.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/document-to-html.js')
-rw-r--r--lib/document-to-html.js2
1 files changed, 1 insertions, 1 deletions
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) {