From 14e4a26dc0bd3ecc5a133530e5319026a331ec45 Mon Sep 17 00:00:00 2001 From: xfy Date: Tue, 2 Jun 2026 18:28:24 +0800 Subject: [PATCH] fix(api): use rendered HTML with anchors in row_to_post --- src/api/posts.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/posts.rs b/src/api/posts.rs index 57aafea..33d262d 100644 --- a/src/api/posts.rs +++ b/src/api/posts.rs @@ -591,7 +591,7 @@ async fn row_to_post(client: &tokio_postgres::Client, row: &tokio_postgres::Row) slug: row.get("slug"), summary: row.get("summary"), content_md: row.get("content_md"), - content_html: row.get("content_html"), + content_html: Some(rendered.html), status, published_at: row.get("published_at"), created_at: row.get("created_at"),