**Steps to replicate the issue** (include links if applicable):
Visit https://ru.m.wikipedia.org/wiki/Заглавная_страница and remove the style for headings that fixes them from `display: flex` to `display: block`
{F55295003}
**What should have happened instead?**:
Seems like somewhere in the heading HTML changes the following style was added:
```css
.content .mw-parser-output .mw-heading, .content .mw-parser-output h1, .content .mw-parser-output h2, .content .mw-parser-output h3, .content .mw-parser-output h4, .content .mw-parser-output h5, .content .mw-parser-output h6 {
display: flex;
}
```
This is probably caused by {T365736}.
It is too broad and ends up affecting all headings on the page, including ones that do not get affected by heading HTML changes in {T13555} since they do not affect `<h1>`s, `<h2>`s etc. with attributes present. Seems like the style should be limited just to `.mw-heading` and not to all heading-style elements since any presence of links etc. in them ends up messing up the headings entirely. I assume this has broader consequences than just ruWP’s main page (where I fixed this).
# QA steps
NOTE: Testing for this task is only needed for production. The fix has been backported on 17th June. Please add #verified after QAing this task successfully.
## Test 1
- Visit https://ru.m.wikipedia.org/wiki/%D0%97%D0%B0%D0%B3%D0%BB%D0%B0%D0%B2%D0%BD%D0%B0%D1%8F_%D1%81%D1%82%D1%80%D0%B0%D0%BD%D0%B8%D1%86%D0%B0
- Uncomment this rule: {F55413343}
{F55413358}
Expected:
The heading (Избранная статья) should span 2 lines like so:
{F55413532}
## Test 2
- Visit https://en.m.wikipedia.org/wiki/Unfair_Terms_in_Consumer_Contracts_Regulations_1999#The_contra_proferentem_rule
Expected:
Should be a space between "proferentem" and "rule"
## Test 3
- Visit https://en.m.wikipedia.org/wiki/Wikipedia_talk:WikiProject_Film#Writing_credits_in_the_lead_intro_of_A_Quiet_Place
Expected:
space between "of" and "A Quiet Place"