From e92163367db415d10aeed0bd8cd40a811223d480 Mon Sep 17 00:00:00 2001 From: Rafael dos Santos Silva Date: Mon, 2 Aug 2021 16:33:51 -0300 Subject: [PATCH] FIX: Upload placeholder was missing line break (#13917) --- .../javascripts/discourse/app/components/composer-editor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/app/components/composer-editor.js b/app/assets/javascripts/discourse/app/components/composer-editor.js index fcfa1683cb9..aa8cb1dfd04 100644 --- a/app/assets/javascripts/discourse/app/components/composer-editor.js +++ b/app/assets/javascripts/discourse/app/components/composer-editor.js @@ -811,7 +811,7 @@ export default Component.extend({ "composer:replace-text", `[${I18n.t("processing_filename", { filename: this.uploadProcessingFilename, - })}]()\n`, + })}]()`, this.uploadPlaceholder.trim() ); this.uploadProcessingFilename = null;