fedimbed: only slightly stupid

This commit is contained in:
Cynthia Foxwell 2025-05-06 21:10:47 -06:00
parent 1cd68f69ec
commit 593edb2f8e
Signed by: Cynosphere
SSH key fingerprint: SHA256:H3SM8ufP/uxqLwKSH7xY89TDnbR9uOHzjLoBr0tlajk

View file

@ -381,7 +381,7 @@ async function blueskyQuoteEmbed(quote, minimal = false) {
? [
{
type: 10,
content: `### ${Icons.fedimbed.quote} [${quote.author.displayName} (@${quote.author.handle})](${quoteUrl})`,
content: `### ${Icons.fedimbed.quote} [${quote.author.displayName} (@${quote.author.handle})](${quoteUrl})\n${content}`,
},
]
: [
@ -682,7 +682,7 @@ async function bluesky(msg, url, spoiler = false, minimal = false) {
const contentComponent = {
type: 10,
content: minimal
? `### [${post.author.displayName} (@${post.author.handle})](${url})`
? `### [${post.author.displayName} (@${post.author.handle})](${url})\n${content}`
: `## ${post.author.displayName}\n-# [@${post.author.handle}](https://bsky.app/profile/${post.author.did})\n${content}`,
};