From 880f6bcf0266578c4e8e16d909c18af0449943cc Mon Sep 17 00:00:00 2001 From: Cheng-Han, Wu Date: Mon, 15 Feb 2016 19:13:17 -0600 Subject: Updated to support lang attribute and styles in editor --- public/js/pretty.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'public/js/pretty.js') diff --git a/public/js/pretty.js b/public/js/pretty.js index 40d90cf7..44d27e54 100644 --- a/public/js/pretty.js +++ b/public/js/pretty.js @@ -5,7 +5,7 @@ md.meta = {}; var rendered = md.render(text); // only render again when meta changed if (JSON.stringify(md.meta) != JSON.stringify(lastMeta)) { - parseMeta(md, markdown, $('#toc'), $('#toc-affix')); + parseMeta(md, null, markdown, $('#toc'), $('#toc-affix')); rendered = md.render(text); } // prevent XSS -- cgit v1.2.3