diff options
Diffstat (limited to 'lib/document-to-html.js')
| -rw-r--r-- | lib/document-to-html.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/document-to-html.js b/lib/document-to-html.js index 32e8b03..bd845f6 100644 --- a/lib/document-to-html.js +++ b/lib/document-to-html.js @@ -127,6 +127,12 @@ function DocumentConversion(options, comments) { return convertElements(run.children, messages, options); }; var paths = []; + if (run.highlight !== null) { + var path = findHtmlPath({type: "highlight", color: run.highlight}); + if (path) { + paths.push(path); + } + } if (run.isSmallCaps) { paths.push(findHtmlPathForRunProperty("smallCaps")); } |
