Charles Johnson on Nostr: Tonight’s pet peeve: I really wish Mastodon didn’t save posts in the database ...
Tonight’s pet peeve: I really wish Mastodon didn’t save posts in the database with HTML tags. Keep the plain text, Transform it in the view code. Don’t save it like that, it smells bad.
Published at
2023-06-19 00:52:18Event JSON
{
"id": "7a56eb6d4a42c2de48f736e5c23325789ab182fa70088247a6d245aae80cb1d5",
"pubkey": "dfe50956eb07757124443d2bed7bde5e1fe9996c6e90197cf7536890bf9073d5",
"created_at": 1687135938,
"kind": 1,
"tags": [
[
"mostr",
"https://mastodon.social/users/Green_Footballs/statuses/110568140856827156"
]
],
"content": "Tonight’s pet peeve: I really wish Mastodon didn’t save posts in the database with HTML tags. Keep the plain text, Transform it in the view code. Don’t save it like that, it smells bad.",
"sig": "62ddf87d1395e5098a35bef4922a44b8555f49465cb4e7c380ea6f37d7388957f9f1d2fa4434598337682ab847b00d95c2c821169c37d9434841cabbabfa1a91"
}