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/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'public/js/index.js') diff --git a/public/js/index.js b/public/js/index.js index 3507e016..22aef5b7 100644 --- a/public/js/index.js +++ b/public/js/index.js @@ -2137,7 +2137,7 @@ function updateViewInner() { var rendered = md.render(value); // only render again when meta changed if (JSON.stringify(md.meta) != JSON.stringify(lastMeta)) { - parseMeta(md, ui.area.markdown, $('#toc'), $('#toc-affix')); + parseMeta(md, ui.area.codemirror, ui.area.markdown, $('#toc'), $('#toc-affix')); rendered = md.render(value); } // prevent XSS -- cgit v1.2.3