fedimbed: space in wrong place

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

View file

@ -1570,7 +1570,7 @@ async function processUrl(msg, url, spoiler = false, command = false, inQuote =
const quoteContext = `-# ${Icons.fedimbed.quote} Quoted Post`; const quoteContext = `-# ${Icons.fedimbed.quote} Quoted Post`;
if (quoteComponents[0].type == 10) { if (quoteComponents[0].type == 10) {
quoteComponents[0].content = minimal quoteComponents[0].content = minimal
? quoteComponents[0].content.replace(/^### /, "$& " + Icons.fedimbed.quote) ? quoteComponents[0].content.replace(/^### /, "$&" + Icons.fedimbed.quote + " ")
: quoteContext + "\n" + quoteComponents[0].content; : quoteContext + "\n" + quoteComponents[0].content;
} else { } else {
quoteComponents.splice(0, 0, {type: 10, content: quoteContext}); quoteComponents.splice(0, 0, {type: 10, content: quoteContext});