From 941d705b6c30f1e43889c4e62c0a747f7b6fe8ba Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Wed, 24 May 2017 21:00:37 +0100 Subject: Pass options through deferredConversion --- lib/document-to-html.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/document-to-html.js') diff --git a/lib/document-to-html.js b/lib/document-to-html.js index d2d0a24..852e0af 100644 --- a/lib/document-to-html.js +++ b/lib/document-to-html.js @@ -404,13 +404,13 @@ function DocumentConversion(options, comments) { var deferredId = 1; function deferredConversion(func) { - return function(element, messages) { + return function(element, messages, options) { return [ { type: "deferred", id: deferredId++, value: function() { - return func(element, messages); + return func(element, messages, options); } } ]; -- cgit v1.2.3