about summary refs log tree commit diff
path: root/app/helpers/text_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/helpers/text_helper.rb')
-rw-r--r--app/helpers/text_helper.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/helpers/text_helper.rb b/app/helpers/text_helper.rb
index 50a7c248a..b60eee22d 100644
--- a/app/helpers/text_helper.rb
+++ b/app/helpers/text_helper.rb
@@ -15,6 +15,7 @@ module TextHelper
 
   def normalize_text(html)
     html.downcase
+      .gsub(Account::MENTION_RE, '')
       .gsub(/[ \t]*\302\240+[ \t]*/, ' ')
       .gsub(/  +/, ' ')
       .gsub(/\r\n?/, "\n")