Steps to replicate the issue:
- Create a page using the following wikitext:
Test.<ref name="Test" details="S. 1">Test Test</ref><ref name="Test2">Test Test2</ref> == Test == Test.<ref name="Test" details="S. 2" /> == Einzelnachweise == <references />
- Edit the page using VisualEditor
- Easiest way to reproduce the bug is by editing the main reference or the sub-reference details.
What happens?:
- is replaced by a regular space
- The issue only affects content in attributes per T390265#11143908, that's why the main reference doesn't change.
- For some reason only one sub-reference changes, even if there's no edit to any reference (dewiki example).
What should have happened instead?:
- Don't replace
Other information:
- Most sub-references probably don't need given that simple details (e.g. p. 123) are unlikely to be displayed in a way that leads to automatic line breaks. But when contributors use details like quotes in addition to the page number, they may want to intentionally use to prevent automatic line breaks between p. and the page number.
