forked from alemi/upub
fix(web): text/html is same as link
This commit is contained in:
parent
b23a85aca2
commit
9c2cbf2303
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ pub fn Attachment(
|
||||||
</p>
|
</p>
|
||||||
}.into_view(),
|
}.into_view(),
|
||||||
|
|
||||||
"link" =>
|
"link" | "text" =>
|
||||||
view! {
|
view! {
|
||||||
<p class="center mt-s mb-s">
|
<p class="center mt-s mb-s">
|
||||||
<a href={href.clone()} title={href.clone()} rel="noreferrer nofollow" target="_blank">
|
<a href={href.clone()} title={href.clone()} rel="noreferrer nofollow" target="_blank">
|
||||||
|
|
Loading…
Reference in a new issue