A message box is displayed to users on top of the edit area if the submit process fails. This notice may list several errors, internally represented by a *-list in wikitext. The parse result seems somewhat broken because of the first element of this list displaying a raw asterisk, while all subsequent elements do show up as correct HTML <li>s. See attached screenshot below.
A possible way to reproduce this:
- Go to any WMF wiki having the TemplateStyles extension installed.
- Find or create a page with the "Sanitized CSS" content model.
- Edit this page, trying to mess it up a bit. I'd suggest writing correct CSS, yet not fully supported by the sanitizer, e.g. add some rule with property width: fit-content;. Replicate that property several times so that the sanitizer later reports one error per offending line.
- Attempt to save the page (the submit action is triggered).
- On page load, instead of a successful save, the faulty error notice is displayed on top.
MW version: 1.37.0-wmf.4 (rMWacb4178d2a6b).
