mirror of
https://github.com/owncast/owncast.git
synced 2024-10-10 19:16:02 +00:00
Some autolinking settings
This commit is contained in:
parent
6c0569aa95
commit
99c6009292
@ -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() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user