ux/Showdown.js
authorAlan Knowles <alan@roojs.com>
Tue, 18 Oct 2016 09:17:35 +0000 (17:17 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 18 Oct 2016 09:17:35 +0000 (17:17 +0800)
ux/Showdown.js

index efcbb0c..be2b3a1 100644 (file)
@@ -806,8 +806,10 @@ Roo.ux.Showdown.toHtml = function(text) {
           escaped = true;
           code = out;
         }
+      } else {
+            // hack!!! - it's already escapeD?
+            escaped = true;
       }
-      escaped = true;
     
       if (!lang) {
         return '<pre><code>'