diff --git a/app/main.py b/app/main.py index 4653cbd..d460ab3 100644 --- a/app/main.py +++ b/app/main.py @@ -111,12 +111,14 @@ def get_today_article(user_word_list, articleID): break s = '' % (user_level, text_level) - s += '

%s

' % (d['date']) + s += '

Article added on: %s

' % (d['date']) + s += '
' s += '

%s

' % (d['text']) s += '

%s

' % (d['source']) s += '

%s

' % (get_question_part(d['question'])) s = s.replace('\n', '
') s += '%s' % (get_answer_part(d['question'])) + s += '
' session['articleID'] = d['article_id'] return s