diff --git a/frontends/conductor.html b/frontends/conductor.html index 5e1621a1..9959b75a 100644 --- a/frontends/conductor.html +++ b/frontends/conductor.html @@ -381,7 +381,7 @@ let ws, fileDir='', fileParent=''; function esc(s){ return String(s||'').replace(/[&<>"]/g,c=>({'&':'&','<':'<','>':'>','"':'"'}[c])); } - function renderMd(s){ try { return marked.parse(s||'', { breaks: true, gfm: true }); } catch(e){ return esc(s); } } + function renderMd(s){ try { return marked.parse(String(s||'').replace(/