From b3735f94942802bafffd3ceaafb83036037fce5f Mon Sep 17 00:00:00 2001 From: Joan Date: Tue, 4 Jul 2023 14:44:10 +0200 Subject: [PATCH] Fixed escaping characters --- wallamanta/helpers.py | 1 + 1 file changed, 1 insertion(+) diff --git a/wallamanta/helpers.py b/wallamanta/helpers.py index 23da1b4..997b80f 100644 --- a/wallamanta/helpers.py +++ b/wallamanta/helpers.py @@ -136,6 +136,7 @@ async def send_article(article, product): created_at = f"*📅 Fecha de publicación:* {telegram_escape_characters(get_publish_date(article))}" modified_at = f"*📅 Fecha de modificación:* {telegram_escape_characters(get_modified_date(article))}" location = f"📍 *Lugar:* {telegram_escape_characters(article['location']['city'])} ({telegram_escape_characters(article['location']['postal_code'])}) - {telegram_escape_characters(article['location']['country_code'])})" + location = telegram_escape_characters(location) if article['shipping']['user_allows_shipping']: user_ships = f"📦 *Envío:* ✅" else: