Take control over your live stream video by running it yourself. Streaming + chat out of the box.
HTML activitypubbroadcastingchatdecentralizedfederationfediversegolanghacktoberfesthlslivelivestreamowncastrtmpself-hostedstreaming-videovideo
Revert "Update test to reflect the newline -> br tag change"
Gabe Kangasc37905a800a1
diff --git a/core/chat/messageRendering_test.go b/core/chat/messageRendering_test.goindex e01c303d89..effa9777af 100644--- a/core/chat/messageRendering_test.go+++ b/core/chat/messageRendering_test.go@@ -19,10 +19,10 @@ func TestRenderAndSanitize(t *testing.T) {<script src="http://hackers.org/hack.js"></script>`- expected := `Test one two three! I go to <a href="http://yahoo.com" rel="nofollow noreferrer noopener" target="_blank">http://yahoo.com</a> and search for <em>sports</em> and <strong>answers</strong>.<br>+ expected := `Test one two three! I go to <a href="http://yahoo.com" rel="nofollow noreferrer noopener" target="_blank">http://yahoo.com</a> and search for <em>sports</em> and <strong>answers</strong>.Here is an iframeblah blah blah-<a href="http://owncast.online" rel="nofollow noreferrer noopener" target="_blank">test link</a><br>+<a href="http://owncast.online" rel="nofollow noreferrer noopener" target="_blank">test link</a><img class="emoji" src="/img/emoji/bananadance.gif">`result := events.RenderAndSanitize(messageContent)