mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2024-12-17 11:09:11 +01:00
52109776f6
* [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 |
||
---|---|---|
.. | ||
common_test.go | ||
common.go | ||
emojify.go | ||
formatter_test.go | ||
formatter.go | ||
link_test.go | ||
link.go | ||
markdown_test.go | ||
markdown.go | ||
plain_test.go | ||
plain.go | ||
removehtml_test.go | ||
sanitize_test.go | ||
sanitize.go |