diff --git a/app/assets/javascripts/discourse/components/pagedown_editor.js.coffee b/app/assets/javascripts/discourse/components/pagedown_editor.js.coffee index 937b03b1f..86468669e 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()