fix(web): link also leads to remote

This commit is contained in:
əlemi 2024-07-16 01:32:51 +02:00
parent d0138c5fc0
commit b2745d2695
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -84,7 +84,7 @@ pub fn Attachment(
"link" | "text" =>
view! {
<p class="mt-s mb-s">
<a title={href.clone()} href={href.clone()} rel="noreferrer nofollow" target="_blank">
<a title={uncloaked.clone()} href={uncloaked.clone()} rel="noreferrer nofollow" target="_blank">
{Uri::pretty(&uncloaked, 50)}
</a>
</p>