aboutsummaryrefslogtreecommitdiff
path: root/lib/document-to-html.js
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2013-05-03 21:42:37 +0100
committerMichael Williamson <mike@zwobble.org>2013-05-03 21:42:37 +0100
commit6d2453fd95214ca3269c3d9f7f1e2a00d3f3ceee (patch)
tree2cd9dc12f5080ebe21e1529582e38aa5c7c8800a /lib/document-to-html.js
parentdc4025cae3964d0300b421b1b7ff486d9f4c5faf (diff)
Parse paragraph matcher
Diffstat (limited to 'lib/document-to-html.js')
-rw-r--r--lib/document-to-html.js2
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];
}
}