From 5510abff1d32d5ac6bb38b7935b06c32b6f4b0f2 Mon Sep 17 00:00:00 2001 From: user Date: Thu, 6 Mar 2025 18:43:16 +0300 Subject: [PATCH] hashtags: replace space -> _ --- app/core/content/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/core/content/utils.py b/app/core/content/utils.py index fa0a9df..04005de 100644 --- a/app/core/content/utils.py +++ b/app/core/content/utils.py @@ -59,7 +59,7 @@ async def create_metadata_for_item( item_metadata = { 'name': title, - 'description': ' '.join([f"#{_h}" for _h in hashtags]), + 'description': ' '.join([f"#{_h.replace(' ', '_')}" for _h in hashtags]), 'attributes': [ # { # 'trait_type': 'Artist',