Steps to reproduce
- Open https://www.mediawiki.org/w/index.php?title=Manual:Collapsible_elements&oldid=5581603
- Using the browser search (⌃+F, ⌘+F etc.), search for is hidden.
Actual result
- Two results are found, in the two code examples.
Expected result
- Four results are found: two in the code examples, and two in the rendered examples.
Other information
At least in Chrome and many Chromium-based browsers, MobileFrontend fixed this in 1abe4bd7dbd3b4001979a9bdb518f8d4d287a485 (T216789). The same fix should work here as well.