From 84a9be252dbe63530a26a80eb49ef9442f2dd1e9 Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Sat, 24 Aug 2013 19:10:18 -0500 Subject: [PATCH] minor. --- lib/marked.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/marked.js b/lib/marked.js index 327e648e3d..7a07c8ae1a 100644 --- a/lib/marked.js +++ b/lib/marked.js @@ -1043,7 +1043,7 @@ function marked(src, opt, callback) { opt = null; } - opt = opt ? merge({}, marked.defaults, opt) : marked.defaults; + opt = merge({}, marked.defaults, opt || {}); var highlight = opt.highlight , tokens