mirror of
https://github.com/elk-zone/elk.git
synced 2024-11-07 09:29:59 +00:00
feat: add markdown support for glitch-soc instances (#752)
This commit is contained in:
parent
4354dd6a2e
commit
9f7c5a2040
1 changed files with 1 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue