Parse parent status into markdown as well

This commit is contained in:
Thomas Gideon 2023-09-06 15:05:00 -04:00
parent 1dd5f7be6a
commit 2bd746c31a

View file

@ -25,10 +25,7 @@ pub(super) async fn format_status(
time_prefix = time_prefix,
timestamp = status.created_at.with_timezone(&Local).format("%H:%M"),
ancestor_prefix = ancestor_prefix,
status = apply_block_quote(
depth,
(status.content.replace("'", "'").replace("\"_", "\"")).trim()
),
status = apply_block_quote(depth, parse_html(&status.content).trim()),
attachments = format_attachments(depth, &status.media_attachments)
);
let Response { json, .. } = client.get_status_context(status.id.clone(), None).await?;