From 9f7c5a2040da53ffeee06080f563d397e3412f97 Mon Sep 17 00:00:00 2001 From: Ryan Cao <70191398+ryanccn@users.noreply.github.com> Date: Wed, 4 Jan 2023 16:59:59 +0800 Subject: [PATCH] feat: add markdown support for glitch-soc instances (#752) --- components/publish/PublishWidget.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/components/publish/PublishWidget.vue b/components/publish/PublishWidget.vue index 7e8a7c88..2eeb909f 100644 --- a/components/publish/PublishWidget.vue +++ b/components/publish/PublishWidget.vue @@ -147,6 +147,7 @@ async function publish() { ...draft.params, status: htmlToText(draft.params.status || ''), mediaIds: draft.attachments.map(a => a.id), + ...(masto.version.includes('+glitch') ? { 'content-type': 'text/markdown' } : {}), } as CreateStatusParams if (process.dev) {