diff options
Diffstat (limited to 'lib/document-to-html.js')
| -rw-r--r-- | lib/document-to-html.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/document-to-html.js b/lib/document-to-html.js index e5c1def..da1a69f 100644 --- a/lib/document-to-html.js +++ b/lib/document-to-html.js @@ -41,7 +41,7 @@ function DocumentConverter(options) { } function convertParagraph(element, html) { - html.style(styleForParagraph(element)); + html.satisfyPath(styleForParagraph(element)); return convertElements(element.children, html); } @@ -54,7 +54,7 @@ function DocumentConverter(options) { if (run.styleName) { var style = runStyleMap[run.styleName]; if (style) { - runHtml.style(style); + runHtml.satisfyPath(style); } } if (run.isBold) { |
