diff --git a/app/assets/javascripts/discourse/components/pagedown_editor.js.coffee b/app/assets/javascripts/discourse/components/pagedown_editor.js.coffee index 937b03b1fd5..86468669e2d 100644 --- a/app/assets/javascripts/discourse/components/pagedown_editor.js.coffee +++ b/app/assets/javascripts/discourse/components/pagedown_editor.js.coffee @@ -20,5 +20,5 @@ window.Discourse.PagedownEditor = Ember.ContainerView.extend didInsertElement: -> $wmdInput = $('#wmd-input') $wmdInput.data('init', true) - @editor = new Markdown.Editor(Discourse.Utilities.markdownConverter()) + @editor = new Markdown.Editor(Discourse.Utilities.markdownConverter(sanitize: true)) @editor.run()