this post was submitted on 25 Nov 2024
484 points (98.0% liked)
Microblog Memes
6037 readers
2134 users here now
A place to share screenshots of Microblog posts, whether from Mastodon, tumblr, ~~Twitter~~ X, KBin, Threads or elsewhere.
Created as an evolution of White People Twitter and other tweet-capture subreddits.
Rules:
- Please put at least one word relevant to the post in the post title.
- Be nice.
- No advertising, brand promotion or guerilla marketing.
- Posters are encouraged to link to the toot or tweet etc in the description of posts.
Related communities:
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Huh. Apparently, when nesting spoilers, you only use one end "tag"
Spoiler 1
TestSpoiler 3
Test@[email protected]
FYI Tesseract does not render nested spoilers like Lemmy UI, Thunder, and Voyager do. Tesseract requires an end tag for each start tag. For what it's worth, Jerboa doesn't seem to support nested spoilers either way.
Spoiler 1
TestSpoiler 3
TestThanks. I'll take a look.
Not an issue I would have thought to check since you should always close the tags you open lol 🤷🏻♂️
Right??? I wonder if that is even intentional. That also makes it so you cannot have two child spoilers nested at the same level within the same parent spoiler. Something like this should work, but noooooo, the end tags just don't work like you'd expect:
Spoiler 1
TestSpoiler 2b
TestEDIT: Tesseract also adds an extra newline above each start tag in the code block above. In the actual comment source, there are no blank lines in the code block.
The newline is actually intentional. I use a different markdown renderer, and it needs it apparently; otherwise, it doesn't detect the closing tag. The Photon dev recommended another markdown library that works well with Svelte (which is why I switched from
markdown-it
), but I haven't had a chance to look into integrating it.