Spoiler text is invisible until the user mouses over the spoiler box, at which point it appears. This uses a fade-in animation, and there is likewise a fade-out animation when the cursor leaves the spoiler text box. In this answer on Code Golf, however, the answer includes this spoiler:

It just prints a character in front of the number entered.

There is a <code> section in the spoiler, and this portion of the text does not fade in or out: it simply appears when the cursor enters the box and disappears when the cursor leaves it. This is a minor issue but I would regard it as a bug.

  • My example spoiler is also showing an ugly dark gray background, which is caused by this issue.
    – bdesham
    Apr 21, 2014 at 12:44

1 Answer 1


This will be fixed in rev. 2014.4.21.2178, along with the background color issue you pointed out in the comments.

  • When will the fix be propagated to Code Golf? A lot of spoilers are used here and a lot of them have code blocks in them. Example here.
    – ADTC
    Jun 19, 2014 at 8:36
  • 1
    @ADTC Hrm, I thought it applied there as well. I'll look into it.
    – Adam Lear StaffMod
    Jun 19, 2014 at 20:20

You must log in to answer this question.

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