Fix bugs with spoiler code blocks
ตอบแล้วWhen doing a code block inside a spoiler, there's some very weird, broken behaviour.
Example 1
Message sent in raw text
|| My cool code```js
function WhereDoesMyTextGo() { }
``` ||
Message sent screenshot
Output (after showing the spoiler)
Expected behaviour (but with the lightgrey background indicating an opened spoiler)
Notes
It doesn't seem to matter which line I place the spoiler tags nor the content, the text is always truncated.
Example 2
Message sent in raw text
||
it *truncates* every ***word*** that __has__ no ~~markup~~ sadface
```cs
private void Test() { }
```
||
Message sent screenshot
Output (after showing the spoiler)
Expected behaviour (but with the lightgrey background indicating an opened spoiler)
Notes
It seems like it truncates every word that doesn't have any markup. Moreover, every single word with markup can be selected and get the new orange outline just like as if it were a code block.
Other
It seems that the alignment of the broken content acts differently per client. This is how I saw one of my messages:
And this is how my friend saw it:
We were both in the windows desktop client, and neither are using any discord extensions/themes/plugins.
-
ข้อคิดเห็นอย่างเป็นทางการ
If you have a general question about Discord or need support help, please contact our support team via https://dis.gd/contact or tweet us @discordapp. This website is specifically for new feature suggestions to add to Discord. As such, I'm closing out this ticket as invalid.
โพสต์นี้ถูกปิดการแสดงข้อคิดเห็น
ข้อคิดเห็น
1 ข้อคิดเห็น