From 923c3f2a6293169550719e329b3940e128df0546 Mon Sep 17 00:00:00 2001 From: pluja Date: Sun, 1 Nov 2020 22:32:40 +0100 Subject: [PATCH] Fix
text on tweets --- app/routes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/routes.py b/app/routes.py index 71969c8..31367da 100644 --- a/app/routes.py +++ b/app/routes.py @@ -871,7 +871,7 @@ def getFeed(urls): newPost["twitterName"] = post.find('a', attrs={'class': 'fullname'}).text newPost["timeStamp"] = date_time_str newPost["date"] = post.find('span', attrs={'class': 'tweet-date'}).find('a').text - newPost["content"] = Markup(post.find('div', attrs={'class': 'tweet-content'})).replace("\n", "
") + newPost["content"] = Markup(post.find('div', attrs={'class': 'tweet-content'}).replace("\n", "
")) if post.find('div', attrs={'class': 'retweet-header'}): newPost["username"] = post.find('div', attrs={'class': 'retweet-header'}).find('div', attrs={