6

Spoiler alert code on my question is not working, also on meta:

Spoiler alert is not working

7
  • all.css has #888 as the spoiler colour, but the background is #222. I get #E8F2EB for both on the main site, so either it's fixed there or I'm getting a cached version.
    – Tony Meyer
    Commented Apr 18, 2012 at 8:57
  • I fixed the markup on your question. there were embedded newline characters after each line. Did you copy paste that text, by chance? Commented Apr 19, 2012 at 5:33
  • Spoilers work for me on the main site, but the colors on meta are still contrasting (not sure what would need to be spoilered here though).
    – Xantec
    Commented Apr 19, 2012 at 13:47
  • I asked this before and it was fixed... but somehow it got un-fixed.
    – hairboat
    Commented Apr 23, 2012 at 20:13
  • I like this bug a lot.
    – Shog9
    Commented Apr 23, 2012 at 20:48
  • Is this broken again on main? Specifically on my answer at scifi.stackexchange.com/a/21289/4025 Commented Jul 30, 2012 at 23:45
  • @MarkBeadles Looks fine to me, I only see it on mouseover
    – Izkata
    Commented Jul 31, 2012 at 1:03

3 Answers 3

3

My spoiler markup wasn't working either, but turns out that you can't spoiler multiple paragraphs

This markup...

>! spoiler paragraph 1

>! spoiler paragraph 2

looks like this...

! spoiler paragraph 1

! spoiler paragraph 2

I had to be remove the intervening actual blank line, and append <br><br> to synthetically insert it again

spoiler paragraph 1

spoiler paragraph 2

The raw text now looks like...

>! spoiler paragraph 1<br><br>
>! spoiler paragraph 2
1
  • You can do multi-line spoilers without HTML markup, but it's not intuitive: example, source
    – user366
    Commented Sep 21, 2012 at 15:40
2

I don't think the spoiler tags are working on either SFF or Meta. If I'm mistaken, correct me, but I thought spoiler tags looked like this:

> ! SPOILERS GO HERE < br > < br >

Without the spaces, of course. I tried to test the spoiler tag on SFF and it wouldn't work for me. And I can see the text of your spoiler message as grey against dark grey. When I mouse over it, it turns white. But it's definitely not hidden for me (and I'm talking about your meta post here)

THIS IS WITHOUT THE SPACES IN THE CODE AND I'LL BET YOU CAN SEE THE TEXT, YES?

Hopefully someone will have the magic answer!

1

I can repro this bug on meta but not on main. I pushed a fix for the meta spoiler text. It will be in the next production build.

You must log in to answer this question.

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