When the app is using RESTBase, some links open the gallery, even though they should just open another page.
The reason for that is that these links have the class="image" attribute set. Let's remove that since we don't need it.
Example: http://localhost:6927/en.wikipedia.org/v1/page/mobile-sections-lead/Masoretic%20text
<figcaption>The <a href=\"/wiki/Nash_Papyrus\" class=\"image\">Nash Papyrus</a>