Take control over your live stream video by running it yourself. Streaming + chat out of the box.
HTML activitypubbroadcastingchatdecentralizedfederationfediversegolanghacktoberfesthlslivelivestreamowncastrtmpself-hostedstreaming-videovideo
fix(chat): strip p tags from outgoing chat messages to fix markdown rendering
Gabe Kangas1149b537c0e3
diff --git a/web/components/chat/ChatTextField/ChatTextField.tsx b/web/components/chat/ChatTextField/ChatTextField.tsxindex 44fae7ca81..9761b63684 100644--- a/web/components/chat/ChatTextField/ChatTextField.tsx+++ b/web/components/chat/ChatTextField/ChatTextField.tsx@@ -146,7 +146,9 @@ export const ChatTextField: FC<ChatTextFieldProps> = ({ defaultText, enabled })return;}- const message = serialize(editor);+ let message = serialize(editor);+ // Strip the opening and closing <p> tags.+ message = message.replace(/^<p>|<\/p>$/g, '');websocketService.send({ type: MessageType.CHAT, body: message });// Clear the editor.