mirror of https://github.com/status-im/codimd.git
Fix cheatsheet rendering
do not process help-modal markdown-body
This commit is contained in:
parent
bcb12b9ae7
commit
f678d9b814
|
@ -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 New Issue