From 3d09698355c5a1bcaada276fe9d4c92ea205df89 Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Wed, 18 Aug 2021 17:51:30 -0700 Subject: [PATCH] Update test to reflect the newline -> br tag change --- core/chat/messageRendering_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/chat/messageRendering_test.go b/core/chat/messageRendering_test.go index effa9777a..e01c303d8 100644 --- a/core/chat/messageRendering_test.go +++ b/core/chat/messageRendering_test.go @@ -19,10 +19,10 @@ func TestRenderAndSanitize(t *testing.T) { ` - expected := `Test one two three! I go to http://yahoo.com and search for sports and answers. + expected := `Test one two three! I go to http://yahoo.com and search for sports and answers.
Here is an iframe blah blah blah -test link +test link
` result := events.RenderAndSanitize(messageContent)