From 44b682e76cb429ee8b3a1aa04630f34dbf98de0e Mon Sep 17 00:00:00 2001 From: greko17 Date: Sat, 12 Oct 2019 18:48:41 +0200 Subject: [PATCH] fix: specials/news.py pulizia titolo --- specials/news.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/specials/news.py b/specials/news.py index 29b2717b..18cac52a 100644 --- a/specials/news.py +++ b/specials/news.py @@ -409,9 +409,9 @@ def get_title(item): title = item.title # Limpiamos el titulo de etiquetas de formato anteriores -## title = re.compile("\[/*COLO.*?\]", re.DOTALL).sub("", title) -## title = re.compile("\[/*B\]", re.DOTALL).sub("", title) -## title = re.compile("\[/*I\]", re.DOTALL).sub("", title) + title = re.compile("\[/*COLO.*?\]", re.DOTALL).sub("", title) + title = re.compile("\[/*B\]", re.DOTALL).sub("", title) + title = re.compile("\[/*I\]", re.DOTALL).sub("", title) title = '[B]'+title+'[/B]'