mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-02-03 00:31:25 -08:00
Also remove markdown for retrieved comments (same behaviour as posts)
This commit is contained in:
parent
7db33a084a
commit
e0f43e9d96
1 changed files with 0 additions and 5 deletions
|
@ -246,11 +246,6 @@ def comment_model_to_json(reply: PostReply) -> dict:
|
|||
}
|
||||
if reply.edited_at:
|
||||
reply_data['updated'] = ap_datetime(reply.edited_at)
|
||||
if reply.body.strip():
|
||||
reply_data['source'] = {
|
||||
'content': reply.body,
|
||||
'mediaType': 'text/markdown'
|
||||
}
|
||||
return reply_data
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue