Description
When I have a link that should contain a soft return (<br>), instead of one anchor tag with a <br> inside of it, the text on either side of the <br> is wrapped in its own <a> tag, producing two links instead of one.
Steps to reproduce
- Add a CKEditor field to a page
- Put some text with a soft return in it (such as an address)
- Select the text and use the toolbar button to add a link to it
- Use the "source" button to look at the HTML code and observe that there are two anchor tags instead of one
Additional info
- Craft version: 4.16.14
- PHP version: 8.2
- Database driver & version: Postgres 17
- Plugins & versions: CKEditor 3.14.1
Screenshots
