#140 Correctly indicate markdown mediaType for apub objects (ref #1220)

Closed
nutomic wants to merge 1 commits from apub-media-type into main
nutomic commented 3 months ago
Owner
There is no content yet.
nutomic reviewed 3 months ago
.set_content(bio.to_owned())
.set_media_type(mime_markdown()?)
// Also set summary for compatibility with older Lemmy versions. Remove this after a while.
.set_summary(bio.to_owned());
nutomic commented 3 months ago

I had to change this from summary to content, because summary only supports HTML and thats not very useful for us.

https://www.w3.org/TR/activitystreams-vocabulary/#dfn-summary

I had to change this from `summary` to `content`, because summary only supports HTML and thats not very useful for us. https://www.w3.org/TR/activitystreams-vocabulary/#dfn-summary
nutomic commented 3 months ago
Poster
Owner

Gonna redo this using source.

Gonna redo this using `source`.
nutomic closed this pull request 3 months ago
Please reopen this pull request to perform a merge.
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This pull request currently doesn't have any dependencies.

Loading…
There is no content yet.