Roo/Markdown.js
authorAlan Knowles <alan@roojs.com>
Tue, 25 Oct 2016 06:46:54 +0000 (14:46 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 25 Oct 2016 06:46:54 +0000 (14:46 +0800)
Roo/Markdown.js

index a9bc898..ae8f068 100644 (file)
@@ -1233,7 +1233,7 @@ Roo.Markdown.toHtml = function(text) {
     
         delete opt.highlight;
     
-        if (!pending) return done();
+        if (!pending) { return done(); }
     
         for (; i < tokens.length; i++) {
           (function(token) {