mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-25 11:16:31 -05:00
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