Commit Graph

7 Commits (68c8dbb1dcf62429fd076713fac54a4910b85947)

Author SHA1 Message Date
Your Name a56c1fb019 fix(mentions): allow long usernames in autolinking (#7204)
Raise the mention regex local-part cap from 20 to 64 chars. The prior cap
silently dropped long usernames from autolinking/mentions, and for remote
handles it truncated the username and dropped the @domain, turning a remote
mention into a broken local one. Adds extensive lexer coverage.
1 week ago
Daniel Supernault 53742fa699
Lint 9 months ago
Daniel Supernault 778e83d398
Update lexer regex, fix mention regex and add more tests 3 years ago
Daniel Supernault f911c96d16
Update lexer autolinker and extractor, add support for mentioned usernames containing dashes, periods and underscore characters 7 years ago
Daniel Supernault 7260ca2100
Update lexer util 7 years ago
daniel b8abbdd90f Apply fixes from StyleCI 8 years ago
Daniel Supernault 7bb1f10d19 Add new entity lexers 8 years ago