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:
1 parent
402686c76c
commit
76053fb4a9
7 files changed
+27
-10
No files matched your search
@@ -84,6 +84,10 @@ RSpec.describe Tag do
|
||||
expect(subject.match('this is #aesthetic').to_s).to eq '#aesthetic'
|
||||
end
|
||||
|
||||
it 'matches #foo' do
|
||||
expect(subject.match('this is #foo').to_s).to eq '#foo'
|
||||
end
|
||||
|
||||
it 'matches digits at the start' do
|
||||
expect(subject.match('hello #3d').to_s).to eq '#3d'
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user