Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

Some autolinking settings

Gabe Kangas3b422e592709
diff --git a/webroot/js/message.js b/webroot/js/message.js
index 0641e70984..86aa5aee38 100644
--- a/webroot/js/message.js
+++ b/webroot/js/message.js
@@ -18,7 +18,13 @@ class Message {
literalMidWordUnderscores: true,
strikethrough: true,
}).makeHtml(this.body);
- var linked = autoLink(markdownToHTML, { embed: true });
+ const linked = autoLink(markdownToHTML, {
+ embed: true,
+ removeHTTP: true,
+ linkAttr: {
+ target: '_blank'
+ }
+ });
return addNewlines(linked);
}
userColor() {