fix(api): use rendered HTML with anchors in row_to_post
This commit is contained in:
parent
5544ea0c18
commit
14e4a26dc0
@ -591,7 +591,7 @@ async fn row_to_post(client: &tokio_postgres::Client, row: &tokio_postgres::Row)
|
|||||||
slug: row.get("slug"),
|
slug: row.get("slug"),
|
||||||
summary: row.get("summary"),
|
summary: row.get("summary"),
|
||||||
content_md: row.get("content_md"),
|
content_md: row.get("content_md"),
|
||||||
content_html: row.get("content_html"),
|
content_html: Some(rendered.html),
|
||||||
status,
|
status,
|
||||||
published_at: row.get("published_at"),
|
published_at: row.get("published_at"),
|
||||||
created_at: row.get("created_at"),
|
created_at: row.get("created_at"),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user