diff options
Diffstat (limited to 'lib/document-to-html.js')
| -rw-r--r-- | lib/document-to-html.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/document-to-html.js b/lib/document-to-html.js index 930e869..94c8b6a 100644 --- a/lib/document-to-html.js +++ b/lib/document-to-html.js @@ -87,7 +87,7 @@ function DocumentConverter(options) { function findStyle(element) { for (var i = 0; i < styleMap.length; i++) { - if (styleMap[i].from(element)) { + if (styleMap[i].from.matches(element)) { return styleMap[i]; } } |
