diff --git a/titanembeds/static/css/embedstyle.css b/titanembeds/static/css/embedstyle.css index e76a490..f4a45fc 100644 --- a/titanembeds/static/css/embedstyle.css +++ b/titanembeds/static/css/embedstyle.css @@ -166,3 +166,7 @@ background-color: #546e7a; margin-right: auto; font-size: 85%; } + +a { + color: #82b1ff; +} \ No newline at end of file diff --git a/titanembeds/static/js/embed.js b/titanembeds/static/js/embed.js index aa1a932..a19230e 100644 --- a/titanembeds/static/js/embed.js +++ b/titanembeds/static/js/embed.js @@ -295,6 +295,9 @@ function fill_discord_messages(messages, jumpscroll) { last = message.id; } $("html, body").animate({ scrollTop: $(document).height() }, "slow"); + $('#chatcontent').linkify({ + target: "_blank" + }); return last; } diff --git a/titanembeds/templates/embed.html.j2 b/titanembeds/templates/embed.html.j2 index 081fcd3..23961ab 100644 --- a/titanembeds/templates/embed.html.j2 +++ b/titanembeds/templates/embed.html.j2 @@ -104,6 +104,8 @@ + + {% raw %}