Browse Source

Fix editor preview

Peter Justin 7 years ago
parent
commit
30cc421283
1 changed files with 1 additions and 1 deletions
  1. 1 1
      flaskbb/themes/aurora/src/js/editor.js

+ 1 - 1
flaskbb/themes/aurora/src/js/editor.js

@@ -27,7 +27,7 @@ $(".flaskbb-editor").markdown({
         }]
         }]
     ],
     ],
     onPreview: function(e) {
     onPreview: function(e) {
-        return parse_emoji(e.getContent());
+        return marked(parse_emoji(e.getContent()));
     }
     }
 });
 });