this post was submitted on 04 Nov 2024
26 points (100.0% liked)

Eternity

1704 readers
42 users here now

Eternity is a free and open-source Lemmy client, forked from Infinity for Reddit!

🔗Universal Link: !eternityapp@lemdro.id

📥 Downloads
🌱Contribute

Rules

  1. Stay on topic: All posts should be related the Eternity project

  2. Be descriptive: If you're reporting a bug, please provide as much detail as you can. Screenshots can be helpful!

  3. Be nice: Keep it positive! Treat others with respect, even if you disagree. Accordingly, you should expect others to be nice to you as well. Report intentionally rude comments.

  4. No piracy: Do not share links or direct people to pirated content.

  5. No advertising: Please refrain from advertising products or other projects here.

founded 1 year ago
MODERATORS
 

you are viewing a single comment's thread
view the rest of the comments
[–] andrew_s@piefed.social 4 points 11 hours ago (1 children)

Eternity's specific issues around spoilers aside, I think other apps / platforms might struggle with that post because the spoilers aren't technically formatted correctly - the ::: that ends a spoiler should be on a new line.

lemmy-ui might've handled them as the user expected, but anything using a different Markdown library might not (including Lemmy's own backend when it comes to the HTML content field for federation)

[–] SatyrSack@feddit.org 6 points 11 hours ago* (last edited 11 hours ago) (1 children)

They were formatted correctly. This screenshot here is of the rendered text, not the source. The issue is that with markdown, you need two newlines to create a new paragraph. If you only use one newline, the subsequent line just gets placed at the end of the previous line. But the Lemmy spoiler syntax does not work that way; you can put the ::: delimiters directly above and below the spoiler text without the need for any extra lines. Because Eternity does not recognize the spoiler syntax here, it is placing all three lines of each spoiler into one line just like it would do to any arbitrary text.

https://lemmy.ml/post/22135805

[–] andrew_s@piefed.social 2 points 8 hours ago

Ah, I see now, thanks. I didn't know where the original post was, or I would've confirmed. I suppose I could have figured out it was for Forza Horizon in retrospect.

You can get a new line (as opposed to a paragraph) with Lemmy using 'space space enter' but I didn't realise that spoilers don't even need that.