X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=ux%2FShowdown.js;h=8de76db3b2f26cfe7ccaab00fa19518fe9a564c3;hb=57d39c4881253c83b5bf91d7ffb89fc68a93b2de;hp=75c7e367390a8adca8a57d429f7889fa9096ce1b;hpb=8a0ee76ccca1a8cb237118e27906075fbe9ad84d;p=roojs1 diff --git a/ux/Showdown.js b/ux/Showdown.js index 75c7e36739..8de76db3b2 100644 --- a/ux/Showdown.js +++ b/ux/Showdown.js @@ -130,6 +130,8 @@ Roo.ux.Showdown.converter = function() { // contorted like /[ \t]*\n+/ . text = text.replace(/^[ \t]+$/mg,""); + text = _DoCodeBlcoks(text); + // Turn block-level HTML blocks into hash entries text = _HashHTMLBlocks(text);