4

On Beta Stack Exchange sites, spoilered text is visible when it shouldn't be, when

  • the text is code (in backticks),
  • the text is part of a hyperlink,
  • and the hyperlink is visited

Example:

>! blah blah blah [You've probably visited this link; `This text should be invisible!` foobar](https://meta.stackoverflow.com/) blah

displays as

blah blah blah You've probably visited this link; This text should be invisible! foobar blah

I noticed this after submitting my answer https://codegolf.stackexchange.com/a/6767/2276.

Similar to https://meta.stackexchange.com/questions/98358/when-editing-an-answer-with-spoilers-the-links-are-not-hidden-in-the-markdown-p, but in this case the actual post is affected, not just the preview.

I think this issue is in the CSS for the Beta Stack Exchange sites (incl. their metas), because I tried it on Japanese Meta and saw the same problem.

  • No repro here on meta, but I see the problem on your codegolf answer after visiting that link. – blahdiblah Jul 26 '12 at 2:21
  • 1
    @blahdiblah: You're right, but it's not just codegolf, but seemingly all (?) Beta sites. Updated. – Mechanical snail Jul 26 '12 at 2:31
  • 1
    Wow, is there a badge for finding esoteric bugs?! – Benjol Jul 26 '12 at 10:57
2

This will be fixed in the next production build.

You must log in to answer this question.

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