diff --git a/core/chat/messageRendering_test.go b/core/chat/messageRendering_test.go index 6a740f8cb..b0e0c2e4a 100644 --- a/core/chat/messageRendering_test.go +++ b/core/chat/messageRendering_test.go @@ -44,8 +44,8 @@ func TestBlockRemoteImages(t *testing.T) { // Test to make sure emoji images are allowed in chat messages. func TestAllowEmojiImages(t *testing.T) { - messageContent := ` test ![](/img/emoji/beerparrot.gif)` - expected := `
test
` + messageContent := ` test ![](/img/emoji/beerparrot.gif)` + expected := `test
` result := events.RenderAndSanitize(messageContent) if result != expected {