Description
Some article abstracts contain CSS rules as normal text. Affected abstracts include content such as .mw-parser-output, @media, and other stylesheet declarations.
We have identified 73 affected articles across 6 Wikipedia projects.
Expected behavior
The generated abstract should contain readable article text only. CSS and TemplateStyles content should be excluded.
Actual behavior
CSS declarations are included in or prepended to the generated abstract.
How to reproduce
- Process or inspect the generated abstract for one of the example articles below.
- Search the abstract for .mw-parser-output or @media.
- Observe that CSS declarations are included as normal abstract text.