Fix cheatsheet rendering
do not process help-modal markdown-body
This commit is contained in:
parent
bcb12b9ae7
commit
f678d9b814
1 changed files with 1 additions and 1 deletions
|
@ -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 = {};
|
||||
|
|
Loading…
Reference in a new issue