diff options
author | Hui Lan <lanhui@zjnu.edu.cn> | 2020-08-13 16:49:46 +0800 |
---|---|---|
committer | Hui Lan <lanhui@zjnu.edu.cn> | 2020-08-13 16:49:46 +0800 |
commit | aadea65da34f44dcc82fdd634dc8c93deef00ab8 (patch) | |
tree | ad2646bd4efaf1c9625cbfc99c1766f551422d5c /app | |
parent | 8da8d02b0ab8ef68afaa5b4268aa2aef5dd1bd60 (diff) |
main.py: use bigger font size for text body.
Diffstat (limited to 'app')
-rw-r--r-- | app/main.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/main.py b/app/main.py index 51fc012..6aa095c 100644 --- a/app/main.py +++ b/app/main.py @@ -101,7 +101,7 @@ def get_today_article(user_word_list): s = '<p><i>According to your word list, your level is <b>%4.2f</b> and we have chosen an article with a difficulty level of <b>%4.2f</b> for you.</i></p>' % (user_level, text_level)
s += '<p><b>%s</b></p>' % (d['date'])
- s += '<p>%s</p>' % (d['text'])
+ s += '<p><font size=+1>%s</font></p>' % (d['text'])
s += '<p><i>%s</i></p>' % (d['source'])
s += '<p><b>%s</b></p>' % (get_question_part(d['question']))
s = s.replace('\n', '<br/>')
|