From 95bc47dc5bd4cc4d7b8528c077b506ab98c669ad Mon Sep 17 00:00:00 2001 From: Your Name Date: Fri, 3 Feb 2023 00:31:19 -0500 Subject: [PATCH] minor change when sharing --- journal/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/journal/views.py b/journal/views.py index d81de00f..b65917b2 100644 --- a/journal/views.py +++ b/journal/views.py @@ -225,7 +225,7 @@ def comment(request, item_uuid, focus_item_uuid): shared_link = comment.metadata.get("shared_link") if comment else None status_id = get_status_id_by_url(shared_link) link = focus_item.get_absolute_url_with_position(position or None) - status = f"分享{ItemCategory(item.category).label}《{item.title}》的《{focus_item.title}》\n{link}\n\n{text}" + status = f"分享{ItemCategory(item.category).label}《{item.title} - {focus_item.title}》\n{link}\n\n{text}" spoiler, status = get_spoiler_text(status, item) try: response = post_toot(