feat: add tags prop in cleaned status
This commit is contained in:
parent
1e3d4e9bad
commit
56c14cb879
1 changed files with 1 additions and 1 deletions
2
utils.py
2
utils.py
|
@ -2,7 +2,7 @@ import markdown
|
|||
import re
|
||||
|
||||
def clean_status(status):
|
||||
clean = clean_dict(status, ['id', 'content', 'created_at', 'url', 'media_attachments', 'card'])
|
||||
clean = clean_dict(status, ['id', 'content', 'created_at', 'url', 'media_attachments', 'card', 'tags'])
|
||||
clean['account'] = clean_author(status['account'])
|
||||
clean['content'] = markdown.markdown("<section markdown='block'>"+ clean['content'] +"</section>", extensions=['md_in_html'])
|
||||
for emoji in status['emojis']:
|
||||
|
|
Loading…
Reference in a new issue