What is the problem?
Line breaks (<br>) are not being preserved by the VisualEditor on wish submission.
I experimented with the VisualEditor on other pages and in those cases line breaks are preserved.
Steps to reproduce problem
- https://wishlist-test.toolforge.org/wiki/Community_Wishlist/Intake
- In Describe your wish, with Source Editor enabled, enter
Line 1<br/> Line 2<br/> Line 3<br/> Line 4<br/> Line 5<br/> Line 6<br/> Line 7<br/> Line 8<br/>
- Switch to VisualEditor
- Fill out the rest of the form and submit
Expected behaviour: On the wish page, each Line # should appear on a separate line. If you view the source of the wish you just created, in the problem section of the template, the wikitext should be the same as you entered (including all the <br/>)
Observed behaviour: The description appears as one line.
Environment
Browser: Firefox 115
Wiki(s): https://wishlist-test.toolforge.org
Screenshots
Before submitting the wish, showing the line breaks:
Line breaks have not been saved: