diff --git a/Iceshrimp.Backend/Core/Helpers/LibMfm/Parsing/HtmlParser.cs b/Iceshrimp.Backend/Core/Helpers/LibMfm/Parsing/HtmlParser.cs index 398aca65..978e52db 100644 --- a/Iceshrimp.Backend/Core/Helpers/LibMfm/Parsing/HtmlParser.cs +++ b/Iceshrimp.Backend/Core/Helpers/LibMfm/Parsing/HtmlParser.cs @@ -34,6 +34,9 @@ internal class HtmlParser(IEnumerable mentions) : $"{el.TextContent}"; } + if (el.TextContent == href && (href.StartsWith("http://") || href.StartsWith("https://"))) + return href; + return $"[{el.TextContent}]({href})"; }