Parse parent status into markdown as well
This commit is contained in:
parent
1dd5f7be6a
commit
2bd746c31a
1 changed files with 1 additions and 4 deletions
|
@ -25,10 +25,7 @@ pub(super) async fn format_status(
|
||||||
time_prefix = time_prefix,
|
time_prefix = time_prefix,
|
||||||
timestamp = status.created_at.with_timezone(&Local).format("%H:%M"),
|
timestamp = status.created_at.with_timezone(&Local).format("%H:%M"),
|
||||||
ancestor_prefix = ancestor_prefix,
|
ancestor_prefix = ancestor_prefix,
|
||||||
status = apply_block_quote(
|
status = apply_block_quote(depth, parse_html(&status.content).trim()),
|
||||||
depth,
|
|
||||||
(status.content.replace("'", "'").replace("\"_", "\"")).trim()
|
|
||||||
),
|
|
||||||
attachments = format_attachments(depth, &status.media_attachments)
|
attachments = format_attachments(depth, &status.media_attachments)
|
||||||
);
|
);
|
||||||
let Response { json, .. } = client.get_status_context(status.id.clone(), None).await?;
|
let Response { json, .. } = client.get_status_context(status.id.clone(), None).await?;
|
||||||
|
|
Loading…
Reference in a new issue