From 1a1e2a3738e27754655ead97ebd096bab821129b Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Wed, 18 Aug 2021 18:08:17 -0700 Subject: [PATCH] Revert "Update test to reflect the newline -> br tag change" This reverts commit 3d09698355c5a1bcaada276fe9d4c92ea205df89. --- 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 e01c303d8..effa9777a 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)