diff --git a/Iceshrimp.Frontend/Core/Miscellaneous/RenderMfm.cs b/Iceshrimp.Frontend/Core/Miscellaneous/RenderMfm.cs index f2ffdc14..d485f130 100644 --- a/Iceshrimp.Frontend/Core/Miscellaneous/RenderMfm.cs +++ b/Iceshrimp.Frontend/Core/Miscellaneous/RenderMfm.cs @@ -144,6 +144,7 @@ public static class MfmRenderer { var el = document.CreateElement("a"); el.SetAttribute("href", node.Url); + el.SetAttribute("target", "_blank"); el.ClassName = "link-node"; return el; } @@ -182,6 +183,7 @@ public static class MfmRenderer { var el = document.CreateElement("a"); el.SetAttribute("href", node.Url); + el.SetAttribute("target", "_blank"); el.ClassName = "url-node"; el.TextContent = node.Url; return el;