3
\$\begingroup\$

I was trying to edit this question, as it contains spoilers: What happens in Curse of Strahd if the players destroy Strahd's coffin or prevent him from returning to it?

I was just trying to hide the spoilers with >! at the beginning of each line, but I came across a problem when trying to edit a section of text that was previously in blockquotes. I've included images below showing what happened.


Here's what it looks like in the editor:

1


...And here's what it looks like in the preview:

enter image description here


Does anyone have any idea what's going on here?
All the other times I used >!, it worked just fine.

\$\endgroup\$
3
  • \$\begingroup\$ Don't edit your question to include the answer/explanation as part of it; the question should only consist of question content - something that answers/addresses/explains the issue the question is about should simply be an answer instead. (This isn't as big of a deal on Meta, but it is certainly relevant to mainsite questions - you shouldn't edit the question to include the answer, because it just gets confusing to read the Q&A.) \$\endgroup\$
    – V2Blast Mod
    Commented May 24, 2021 at 20:19
  • 1
    \$\begingroup\$ Note that spoiler markup is super buggy and has been known to be buggy for years: this bug is as old as 2011. Basically spoilers exist and that's about as good as we're going to get for the foreseeable future. \$\endgroup\$ Commented May 24, 2021 at 20:25
  • \$\begingroup\$ Related: rpg.meta.stackexchange.com/questions/759/… \$\endgroup\$
    – Kirt
    Commented May 27, 2021 at 1:56

2 Answers 2

6
\$\begingroup\$

The linebreak before "If" breaks the spoiler markdown.

Curse of Strahd spoilers ahead.

enter image description here

Fixed (by deleting the linebreak), it looks like:

enter image description here

Alternatively, we can fix it like this:

enter image description here

With a double space at the end of the first two line in the spoiler block. This is the solution I went with, as this matches the rendering in the adventure's text.

\$\endgroup\$
1
  • \$\begingroup\$ Thanks! I see you went ahead and edited the post as well, so thanks for that! \$\endgroup\$
    – Jasmine
    Commented May 24, 2021 at 19:11
1
\$\begingroup\$

The linebreak is indeed what broke the spoiler format.

If you wish to still format these with a new-line within, simply include two spaces after the first line and readd the >! to the following line.

>!Spoilers followed by a double-space  
>!Following line after line-break

Spoilers followed by a double-space
Following line after line-break

\$\endgroup\$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .