diff options
| author | Michael Williamson <mike@zwobble.org> | 2013-05-03 21:42:37 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2013-05-03 21:42:37 +0100 |
| commit | 6d2453fd95214ca3269c3d9f7f1e2a00d3f3ceee (patch) | |
| tree | 2cd9dc12f5080ebe21e1529582e38aa5c7c8800a /lib/document-to-html.js | |
| parent | dc4025cae3964d0300b421b1b7ff486d9f4c5faf (diff) | |
Parse paragraph matcher
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]; } } |
