jointakahe / takahe

An ActivityPub/Fediverse server
BSD 3-Clause "New" or "Revised" License
1.1k stars 84 forks source link

allow unicode characters in hashtag #659

Closed alphatownsman closed 8 months ago

andrewgodwin commented 8 months ago

I'd like some tests with this that verify that it does, indeed, allow unicode characters that can be considered words (and does not allow, say, whitespace classes). The existing tests are in tests/core/test_html.py - you can add a few cases under the existing hashtag test in test_parser.

alphatownsman commented 8 months ago

test added. lmk if more is required.

andrewgodwin commented 8 months ago

That looks good - thanks!