From 2bd746c31a2f83a8b24cd11ee976fe90015866da Mon Sep 17 00:00:00 2001 From: Thomas Gideon Date: Wed, 6 Sep 2023 15:05:00 -0400 Subject: [PATCH] Parse parent status into markdown as well --- src/format.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/format.rs b/src/format.rs index ad023ab..e6c46dc 100644 --- a/src/format.rs +++ b/src/format.rs @@ -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?;