diff options
Diffstat (limited to 'app/services')
-rw-r--r-- | app/services/post_status_service.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/services/post_status_service.rb b/app/services/post_status_service.rb index 95333585f..e7c81309f 100644 --- a/app/services/post_status_service.rb +++ b/app/services/post_status_service.rb @@ -135,14 +135,14 @@ class PostStatusService < BaseService def extract_tags return unless '#'.in?(@text) @text = @text.dup if @text.frozen? - @text.gsub!(/^##/, "\uf666") - @text.gsub!('##', "\uf669") + @text.gsub!(/^##/, "\ufdd6") + @text.gsub!('##', "\ufdd9") @tags |= Extractor.extract_hashtags(@text) @text.strip! @text.gsub!(/^(?:#[\w:._·\-]+\s*)+$/, '') @text.strip! - @text.gsub!("\uf669", "##") - @text.gsub!("\uf666", "#") + @text.gsub!("\ufdd9", "##") + @text.gsub!("\ufdd6", "#") end def preprocess_attributes! |