From 49beb17a8fbdbf3517c103a477a5459a3bba404d Mon Sep 17 00:00:00 2001 From: Autumn! <86073772+autumnull@users.noreply.github.com> Date: Fri, 3 Feb 2023 10:58:58 +0000 Subject: [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 --- internal/processing/account/update_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/processing/account/update_test.go') diff --git a/internal/processing/account/update_test.go b/internal/processing/account/update_test.go index e4b046075..8ebce7888 100644 --- a/internal/processing/account/update_test.go +++ b/internal/processing/account/update_test.go @@ -76,8 +76,8 @@ func (suite *AccountUpdateTestSuite) TestAccountUpdateWithMention() { var ( locked = true displayName = "new display name" - note = "#hello here i am!\n\ngo check out @1happyturtle, they have a cool account!\n" - noteExpected = "
#hello here i am!
go check out @1happyturtle, they have a cool account!
#hello here i am!
go check out @1happyturtle, they have a cool account!