mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-12-23 10:42:12 +00: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.go | ||
common_test.go | ||
emojify.go | ||
formatter.go | ||
formatter_test.go | ||
link.go | ||
link_test.go | ||
markdown.go | ||
markdown_test.go | ||
plain.go | ||
plain_test.go | ||
removehtml_test.go | ||
sanitize.go | ||
sanitize_test.go |