From 4c2399bf7101d1941c952cc86d7a01ef8cae95d7 Mon Sep 17 00:00:00 2001 From: rimu <3310831+rimu@users.noreply.github.com> Date: Fri, 24 May 2024 16:32:11 +1200 Subject: [PATCH] send markdown --- app/post/routes.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/post/routes.py b/app/post/routes.py index 8f9c3fb1..24680ab0 100644 --- a/app/post/routes.py +++ b/app/post/routes.py @@ -718,6 +718,10 @@ def add_reply(post_id: int, comment_id: int): in_reply_to.author.public_url() ], 'content': reply.body_html, + 'source': { + 'content': reply.body, + 'mediaType': 'text/markdown' + }, 'inReplyTo': in_reply_to.profile_id(), 'url': reply.profile_id(), 'mediaType': 'text/html',