From 2853bf2a28af65cd291233fd9cf5f10be398f56c Mon Sep 17 00:00:00 2001 From: Thomas Sileo Date: Thu, 20 Oct 2022 19:39:55 +0200 Subject: [PATCH] Fix tag dedup --- app/source.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/source.py b/app/source.py index 9710b0f..dc2227b 100644 --- a/app/source.py +++ b/app/source.py @@ -183,7 +183,7 @@ async def markdownify( # Handle custom emoji tags.extend(emoji.tags(content)) - return rendered_content, tags, list(mentioned_actors.values()) + return rendered_content, dedup_tags(tags), list(mentioned_actors.values()) def dedup_tags(tags: list[dict[str, str]]) -> list[dict[str, str]]: