From ee295be6a77b2d41d71b3fcf523a4a5f8ec529c1 Mon Sep 17 00:00:00 2001 From: Bendik Aagaard Lynghaug Date: Mon, 31 Aug 2026 17:18:40 +0200 Subject: [PATCH] Item cards render inline markdown descriptions Resource-fed cards follow the same convention as every other description: links live there, sanitized by render_inline_markdown. Carries the per-recording report link on place pages. Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_01Y42TyF8Zu7NGRR2893vNcZ --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/app.rs | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f577440..81a07b2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2948,7 +2948,7 @@ dependencies = [ [[package]] name = "portal" -version = "0.3.16" +version = "0.3.17" dependencies = [ "anyhow", "arc-swap", diff --git a/Cargo.toml b/Cargo.toml index 33cbeec..6955a17 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "portal" -version = "0.3.16" +version = "0.3.17" edition = "2021" [lib] diff --git a/src/app.rs b/src/app.rs index c2fea3e..ffa784a 100644 --- a/src/app.rs +++ b/src/app.rs @@ -1585,7 +1585,8 @@ fn ItemCard(item: serde_json::Value) -> impl IntoView { } })} - {description.map(|d| view! {

{d}

})} + {description + .map(|d| view! {

})} {audio.map(|src| view! { })} {(!extra.is_empty()) .then(|| {