Roo/Markdown.js
authorAlan Knowles <alan@roojs.com>
Tue, 25 Oct 2016 07:38:27 +0000 (15:38 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 25 Oct 2016 07:38:27 +0000 (15:38 +0800)
Roo/Markdown.js

index 29f5293..91831a5 100644 (file)
@@ -32,7 +32,9 @@ Roo.Markdown.toHtml = function(text) {
             smartLists: true,
             smartypants: false
           });
-
+    // A FEW HACKS!!?
+    
+    text = text.replace(/\\\n/g,' ');
     return Roo.Markdown.marked(text);
 };
 //