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

index ae8f068..4cffa81 100644 (file)
@@ -1241,7 +1241,7 @@ Roo.Markdown.toHtml = function(text) {
               return --pending || done();
             }
             return highlight(token.text, token.lang, function(err, code) {
-              if (err) return done(err);
+              if (err) { return done(err); }
               if (code == null || code === token.text) {
                 return --pending || done();
               }