diff options
author | Yukai Huang | 2016-10-13 15:54:17 +0800 |
---|---|---|
committer | Yukai Huang | 2016-10-13 15:54:17 +0800 |
commit | f678d9b81451fba0b196332a2d2d97310f2133ab (patch) | |
tree | 2f370986a78c12529f7a01c22c27b760887c1934 /public/js | |
parent | bcb12b9ae7d3562a05d007d6bab1042c1e6319fe (diff) |
Fix cheatsheet rendering
do not process help-modal markdown-body
Diffstat (limited to 'public/js')
-rw-r--r-- | public/js/pretty.js | 2 |
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 = {}; |