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

index 8570de9..4997169 100644 (file)
@@ -878,7 +878,7 @@ Roo.ux.Showdown.converter = function() {
     
                             codeblock = "<pre><code>" + codeblock + "\n</code></pre>";
     
-                            return hashBlock(codeblock) ;
+                            return hashBlock(codeblock) + nextChar;
                     }
             );
     
@@ -900,7 +900,7 @@ Roo.ux.Showdown.converter = function() {
                 
                     codeblock = '<pre><code' + (language ? ' class="' + language + ' language-' + language + '"' : '') + '>' + codeblock + end + '</code></pre>';
                 
-                    return hashBlock(codeblock) + nextChar;
+                    return hashBlock(codeblock) ;
             });
           
             // attacklab: strip sentinel