diff options
author | Yukai Huang | 2017-01-21 12:55:45 +0800 |
---|---|---|
committer | Yukai Huang | 2017-01-21 12:55:45 +0800 |
commit | 74b04d08b5a4cf51ba71dd1ea12388974e74f4df (patch) | |
tree | b9c82d9f35ab0875eadd0ce83108a100b8f4152a /public/js | |
parent | 93d6fe6d7cf7d49b3dcea8ffaad4d3d51beed965 (diff) | |
parent | 6e8ff3de234471375836ba907e86bf39804c308e (diff) |
Merge branch 'master' into es6-integration
Diffstat (limited to '')
-rw-r--r-- | public/js/index.js | 1 | ||||
-rw-r--r-- | public/js/pretty.js | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/public/js/index.js b/public/js/index.js index 8e3bc561..39f28fbd 100644 --- a/public/js/index.js +++ b/public/js/index.js @@ -3452,6 +3452,7 @@ function updateViewInner() { var value = editor.getValue(); var lastMeta = md.meta; md.meta = {}; + delete md.metaError; var rendered = md.render(value); if (md.meta.type && md.meta.type === 'slide') { var slideOptions = { diff --git a/public/js/pretty.js b/public/js/pretty.js index 64d41c43..18d0dc0d 100644 --- a/public/js/pretty.js +++ b/public/js/pretty.js @@ -24,6 +24,7 @@ const markdown = $("#doc.markdown-body"); const text = markdown.text(); const lastMeta = md.meta; md.meta = {}; +delete md.metaError; let rendered = md.render(text); if (md.meta.type && md.meta.type === 'slide') { const slideOptions = { |