Skip to content

Commit

Permalink
Fix emoji in editor preview
Browse files Browse the repository at this point in the history
  • Loading branch information
sh4nks committed Mar 31, 2018
1 parent c63dc3e commit 04fc8e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion flaskbb/static/js/scripts.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion flaskbb/themes/aurora/src/js/editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ $(".flaskbb-editor").markdown({
}]
],
onPreview: function(e) {
return marked(parse_emoji(e.getContent()));
return parse_emoji(marked(e.getContent()));
}
});

Expand Down

0 comments on commit 04fc8e5

Please sign in to comment.