about summary refs log tree commit diff
path: root/app/services/post_status_service.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/services/post_status_service.rb')
-rw-r--r--app/services/post_status_service.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/services/post_status_service.rb b/app/services/post_status_service.rb
index a7275ea90..3975a37d8 100644
--- a/app/services/post_status_service.rb
+++ b/app/services/post_status_service.rb
@@ -141,7 +141,8 @@ class PostStatusService < BaseService
     @text.strip!
     @text.gsub!(/^(?:#[\w:._·\-]+\s*)+$/, '')
     @text.strip!
-    @text.gsub!("\uf669", "##").gsub!("\uf666", "#")
+    @text.gsub!("\uf669", "##")
+    @text.gsub!("\uf666", "#")
   end
 
   def preprocess_attributes!