This one looks pretty funny actually:

enter image description here

Found in this answer.

This is in Chrome 38 on Windows 8.

  • \$\begingroup\$ Spoilers work with <code> tags or backticks, but apparently not <pre> tags. \$\endgroup\$
    – grc
    Oct 31, 2014 at 11:30
  • 5
    \$\begingroup\$ It hides the code, doesn't it? ;-) \$\endgroup\$ Oct 31, 2014 at 11:32
  • 1
    \$\begingroup\$ No-repro in latest Chrome with SOUP installed. \$\endgroup\$ Oct 31, 2014 at 11:34

2 Answers 2


I've added a pre rule to the CSS.

With you in the next build.


It is caused by this CSS rule:

.spoiler {
    color: #FFF9E3;

All text is colored in the same color as the spoiler background, and so is the text in the code block.

A potential solution could be:

.spoiler pre {
    background: #FFF9E3;

You must log in to answer this question.

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