diff options
Diffstat (limited to 'public/js')
-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 = { |