2
0

Fix hashtags not being picked up when full-width hash sign is used (#36103)

Co-authored-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
Eugen Rochko
2025-10-27 18:18:01 +01:00
committed by GitHub
parent 402686c76c
commit 76053fb4a9
7 changed files with 27 additions and 10 deletions

View File

@@ -54,7 +54,7 @@ module Extractor
end
def extract_hashtags_with_indices(text, _options = {})
return [] unless text&.index('#')
return [] unless text&.index(/[#]/)
possible_entries = []