summaryrefslogtreecommitdiff
path: root/internal/web/rss.go
diff options
context:
space:
mode:
authorLibravatar ugla <ugla@u8.is>2022-11-15 16:05:34 +0100
committerLibravatar GitHub <noreply@github.com>2022-11-15 16:05:34 +0100
commit52109776f63ac59b2fef5cd7417becd9f0007acb (patch)
tree8ee4fd138806357257c975621bc20ba9141ddbe9 /internal/web/rss.go
parent[chore] fix profile spacing on very small screens (#1050) (diff)
downloadgotosocial-52109776f63ac59b2fef5cd7417becd9f0007acb.tar.xz
[bugfix] Fix unicode-unaware word boundary check in hashtags (#1049)
* [bugfix] Fix unicode-unaware word boundary check in hashtag regex Go `\b` does not care for Unicode, and without lookahead, the workarounds got very ugly. So I replaced the regex with a parser. The parser runs in O(n) time and performance should not be affected. * [bugfix] Add back hashtag max length and add tests for it
Diffstat (limited to 'internal/web/rss.go')
0 files changed, 0 insertions, 0 deletions