# MathJax Color fights Hidden Text and Wins!

It appears that using MathJax color in a hidden text block "pokes through" the hidden environment. I don't believe this is desired behavior, so I'm reporting as a bug.

very hidden. $\color{red}{\text{Not so hidden...}}$ Hidden again.

• Disclaimer: I know nothing about this! While certainly a surprise, this may be A) not so easy to fix, if the working of the spoiler field relies on turning black text to grey and back, B) a feature as opposed to a bug or, if you prefer, by-design :-) – Jyrki Lahtonen Dec 29 '14 at 17:06
• I thought it wouldn't be easy to fix, but I still felt that reporting the behavior would be better than leaving it undocumented. – apnorton Dec 29 '14 at 17:13
• I think this is a legitimate bug, though likely in the "won't fix" territory. The spoilers indeed work by making the color of text identical to background, and MathJax, running later on the page, overrules that. – user147263 Dec 29 '14 at 17:16
• Interestingly enough, the behavior does not exist on the Android app. – apnorton Dec 29 '14 at 17:16
• This might just be me being naïf with my limited skills, but wouldn't simply applying something like hidden instead of changing the color solve this? I imagine there are other technical problems with that though. – Najib Idrissi Dec 29 '14 at 17:30
• This behaviour also does not exist on mobile site (click "mobile" in the footer). Both the mobile site and the app implement spoilers differently, by replacing the text with "[Click to show] spoiler", and then inserting the text if clicked. – user147263 Dec 29 '14 at 17:31
• @NajibIdrissi Shog says it's because of reasons, some of the reasons being copy-paste and ability to display the text by selecting it. – user147263 Dec 29 '14 at 17:38
• @Behaviour I don't really understand the argument, since you can click on the spoiler block to make it visible. How about opacity otherwise? – Najib Idrissi Dec 29 '14 at 17:43
• @NajibIdrissi I never knew about click-to-keep-visible. Thanks! The post I linked is from 2011, so it's quite possible that by now whatever reasons made them use the color attribute for spoilers no longer apply. – user147263 Dec 29 '14 at 17:44
• SOUP fixes this, as a side effect of this general spoiler CSS fix. (It seems to break the click-to-keep-visible functionality, though. I'll fix that ASAP; thanks for pointing it out!) – Ilmari Karonen Dec 29 '14 at 21:20
• ...and the click functionality is fixed too, as of SOUP v1.26.3. – Ilmari Karonen Dec 29 '14 at 21:46