mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2026-01-06 03:13:15 -06:00
Allow marks after NFC normalization
Includes regression test for the Tamil example from #3618
This commit is contained in:
parent
726d2ba483
commit
13a2573ca2
5 changed files with 29 additions and 22 deletions
|
|
@ -177,7 +177,7 @@ func (p *hashtagParser) Parse(
|
|||
// Ignore initial '#'.
|
||||
continue
|
||||
|
||||
case !isPlausiblyInHashtag(r) &&
|
||||
case !isPermittedInHashtag(r) &&
|
||||
!isHashtagBoundary(r):
|
||||
// Weird non-boundary character
|
||||
// in the hashtag. Don't trust it.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue