Skip to content

Commit 0b8bee4

Browse files
authored
Merge pull request #273 from danlevan/options
Pass options to bracket compile
2 parents b56b42a + 93a61f3 commit 0b8bee4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/consolidate.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1183,7 +1183,7 @@ exports.bracket.render = function (str, options, fn) {
11831183
return promisify(fn, function (fn) {
11841184
var engine = requires.bracket || (requires.bracket = require('bracket-template'));
11851185
try {
1186-
var tmpl = cache(options) || cache(options, engine.default.compile(str));
1186+
var tmpl = cache(options) || cache(options, engine.default.compile(str, options));
11871187
fn(null, tmpl(options));
11881188
} catch (err) {
11891189
fn(err);

0 commit comments

Comments
 (0)