fix(api): use rendered HTML with anchors in row_to_post

This commit is contained in:
xfy 2026-06-02 18:28:24 +08:00
parent 5544ea0c18
commit 14e4a26dc0

View File

@ -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"),