Page MenuHomePhabricator

<syntaxhighlight inline> unreadable on apps when using dark theme
Closed, DuplicatePublic

Description

When using <syntaxhighlight> the contents are visible in the apps' dark themes. However if the inline attribute is added then the tag is not styled the same way and the contents are not visible.

Test page: https://en.wikipedia.org/wiki/User:The_wub/T254672

2020-06-06 22.40.39.png (2×1 px, 157 KB)

This is used in Template:Code which is transcluded over 33000 times on English Wikipedia. I don't know how often it is used outside of that template.