summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--public/js/pretty.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/js/pretty.js b/public/js/pretty.js
index 1288225b..c1c2b4a4 100644
--- a/public/js/pretty.js
+++ b/public/js/pretty.js
@@ -10,7 +10,7 @@ var postProcess = extra.postProcess;
var updateLastChange = extra.updateLastChange;
var preventXSS = require('./render').preventXSS;
-var markdown = $(".markdown-body");
+var markdown = $("#doc.markdown-body");
var text = $('<textarea/>').html(markdown.html()).text();
var lastMeta = md.meta;
md.meta = {};