mirror of
1
Fork 0
gotosocial/internal/text
Autumn! 49beb17a8f
[chore] Text formatting overhaul (#1406)
* Implement goldmark debug print for hashtags and mentions

* Minify HTML in FromPlain

* Convert plaintext status parser to goldmark

* Move mention/tag/emoji finding logic into formatter

* Combine mention and hashtag boundary characters

* Normalize unicode when rendering hashtags
2023-02-03 11:58:58 +01:00
..
emojify.go [chore] Update/add license headers for 2023 (#1304) 2023-01-05 12:43:00 +01:00
emojionly.go [chore] Text formatting overhaul (#1406) 2023-02-03 11:58:58 +01:00
formatter.go [chore] Text formatting overhaul (#1406) 2023-02-03 11:58:58 +01:00
formatter_test.go [chore] Text formatting overhaul (#1406) 2023-02-03 11:58:58 +01:00
goldmark_extension.go [chore] Text formatting overhaul (#1406) 2023-02-03 11:58:58 +01:00
goldmark_plaintext.go [chore] Text formatting overhaul (#1406) 2023-02-03 11:58:58 +01:00
markdown.go [chore] Text formatting overhaul (#1406) 2023-02-03 11:58:58 +01:00
markdown_test.go [chore] Text formatting overhaul (#1406) 2023-02-03 11:58:58 +01:00
minify.go [chore] Text formatting overhaul (#1406) 2023-02-03 11:58:58 +01:00
plain.go [chore] Text formatting overhaul (#1406) 2023-02-03 11:58:58 +01:00
plain_test.go [chore] Text formatting overhaul (#1406) 2023-02-03 11:58:58 +01:00
removehtml_test.go [chore] Update/add license headers for 2023 (#1304) 2023-01-05 12:43:00 +01:00
replace.go [chore] Text formatting overhaul (#1406) 2023-02-03 11:58:58 +01:00
sanitize.go [chore] Update/add license headers for 2023 (#1304) 2023-01-05 12:43:00 +01:00
sanitize_test.go [chore] Update/add license headers for 2023 (#1304) 2023-01-05 12:43:00 +01:00