aboutsummaryrefslogtreecommitdiff
path: root/lib/document-to-html.js
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2013-04-08 20:58:22 +0100
committerMichael Williamson <mike@zwobble.org>2013-04-08 20:58:22 +0100
commitb4e24fbcb96743e7a81156526ef4e994f4af20e4 (patch)
treece88d66b001967098d0ddbe4b09b3d888eefb5ec /lib/document-to-html.js
parent03716aafae79ce637bd130b006faac3ffd42499d (diff)
Rename HtmlGenerator.style to satisfyPath
Diffstat (limited to 'lib/document-to-html.js')
-rw-r--r--lib/document-to-html.js4
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) {