ux/Showdown.js
authorAlan Knowles <alan@roojs.com>
Tue, 18 Oct 2016 08:45:52 +0000 (16:45 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 18 Oct 2016 08:45:52 +0000 (16:45 +0800)
ux/Showdown.js

index 80b957c..0963488 100644 (file)
@@ -364,9 +364,9 @@ Roo.ux.Showdown.converter = function() {
             // was to escape raw HTML in the original Markdown source. This time,
             // we're escaping the markup we've just created, so that we don't wrap
             // <p> tags around block-level tags.
-            text = _HashHTMLBlocks(text);
+           
             text = _FormParagraphs(text);
-    
+            text = _HashHTMLBlocks(text);
             return text;
     }