Fixed escaping characters
This commit is contained in:
@@ -136,6 +136,7 @@ async def send_article(article, product):
|
|||||||
created_at = f"*📅 Fecha de publicación:* {telegram_escape_characters(get_publish_date(article))}"
|
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))}"
|
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 = 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']:
|
if article['shipping']['user_allows_shipping']:
|
||||||
user_ships = f"📦 *Envío:* ✅"
|
user_ships = f"📦 *Envío:* ✅"
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user