8
\$\begingroup\$

This one looks pretty funny actually:

enter image description here

Found in this answer.

This is in Chrome 38 on Windows 8.

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

I've added a pre rule to the CSS.

With you in the next build.

||||||
\$\endgroup\$
5
\$\begingroup\$

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;
}
||||||
\$\endgroup\$

You must log in to answer this question.

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