mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-27 06:41:18 +00:00
Nutomic
608bb6b1b4
* Convert titles for posts from Mastodon to plaintext (fixes #3828) * Fix prettier. * Trigger build * Convert titles for posts from Mastodon to plaintext (fixes #3828) * Fix prettier. * Fix sanizize. --------- Co-authored-by: Dessalines <dessalines@users.noreply.github.com> Co-authored-by: Dessalines <tyhou13@gmx.com>
53 lines
2.6 KiB
JSON
53 lines
2.6 KiB
JSON
{
|
|
"@context": [
|
|
"https://www.w3.org/ns/activitystreams",
|
|
{
|
|
"ostatus": "http://ostatus.org#",
|
|
"atomUri": "ostatus:atomUri",
|
|
"inReplyToAtomUri": "ostatus:inReplyToAtomUri",
|
|
"conversation": "ostatus:conversation",
|
|
"sensitive": "as:sensitive",
|
|
"toot": "http://joinmastodon.org/ns#",
|
|
"votersCount": "toot:votersCount"
|
|
}
|
|
],
|
|
"id": "https://dice.camp/users/thekernelinyellow/statuses/110830743680706519",
|
|
"type": "Note",
|
|
"summary": null,
|
|
"inReplyTo": null,
|
|
"published": "2023-08-04T09:55:39Z",
|
|
"url": "https://dice.camp/@thekernelinyellow/110830743680706519",
|
|
"attributedTo": "https://dice.camp/users/thekernelinyellow",
|
|
"to": ["https://www.w3.org/ns/activitystreams#Public"],
|
|
"cc": [
|
|
"https://dice.camp/users/thekernelinyellow/followers",
|
|
"https://enterprise.lemmy.ml/c/tenforward",
|
|
"https://enterprise.lemmy.ml/c/tenforward/followers"
|
|
],
|
|
"sensitive": false,
|
|
"atomUri": "https://dice.camp/users/thekernelinyellow/statuses/110830743680706519",
|
|
"inReplyToAtomUri": null,
|
|
"conversation": "tag:dice.camp,2023-08-04:objectId=29969291:objectType=Conversation",
|
|
"content": "<p><span class=\"h-card\" translate=\"no\"><a href=\"https://enterprise.lemmy.ml/c/tenforward\" class=\"u-url mention\">@<span>tenforward</span></a></span> Variable never resetting at refresh</p><p>Hi! I'm using a variable to count elements in my generator but every time I generate a new character, the counter's value carries on from the previous one. Is there a function to reset it (I set it to 0 at the beginning of the file)</p>",
|
|
"contentMap": {
|
|
"it": "<p><span class=\"h-card\" translate=\"no\"><a href=\"https://enterprise.lemmy.ml/c/tenforward\" class=\"u-url mention\">@<span>tenforward</span></a></span>Variable never resetting at refresh</p><p>Hi! I'm using a variable to count elements in my generator but every time I generate a new character, the counter's value carries on from the previous one. Is there a function to reset it (I set it to 0 at the beginning of the file)</p>"
|
|
},
|
|
"attachment": [],
|
|
"tag": [
|
|
{
|
|
"type": "Mention",
|
|
"href": "https://enterprise.lemmy.ml/c/tenforward",
|
|
"name": "@tenforward@enterprise.lemmy.ml"
|
|
}
|
|
],
|
|
"replies": {
|
|
"id": "https://dice.camp/users/thekernelinyellow/statuses/110830743680706519/replies",
|
|
"type": "Collection",
|
|
"first": {
|
|
"type": "CollectionPage",
|
|
"next": "https://dice.camp/users/thekernelinyellow/statuses/110830743680706519/replies?only_other_accounts=true&page=true",
|
|
"partOf": "https://dice.camp/users/thekernelinyellow/statuses/110830743680706519/replies",
|
|
"items": []
|
|
}
|
|
}
|
|
}
|