fix the build

fix the build

Use whitespace after code block start for single word languages

diff --git a/spec/components/post_destroyer_spec.rb b/spec/components/post_destroyer_spec.rb
index 845a3ba..8266f8d 100644
--- a/spec/components/post_destroyer_spec.rb
+++ b/spec/components/post_destroyer_spec.rb
@@ -655,7 +655,7 @@ describe PostDestroyer do
 
       Jobs::SendSystemMessage.new.execute(jobs[0]["args"][0].with_indifferent_access)
 
-      expect(Post.last.raw).to include("[details=\"Click to expand removed post\"]\n`‍``markdown\n#{second_post.raw}\n`‍``\n[/details]")
+      expect(Post.last.raw).to include("[details=\"Click to expand removed post\"]\n`‍`` markdown\n#{second_post.raw}\n`‍``\n[/details]")
     end
 
     it "should not send the flags_agreed_and_post_deleted message if it was deleted by system" do

GitHub sha: c5dd4bf5

We should use I18n instead of duplicating the translation string here.

3 Likes

It’s done in SPEC: Use I18n translation instead of using raw text Β· discourse/discourse@0cf8f10 Β· GitHub

1 Like