Extra `<br>` tags inserted into rich text fields
Overview
Extra <br>
tags being inserted between HTML elements in rich-text fields, including between list items! And two being inserted between paragraphs. The html is clean in the editor, but this is how it's being rendered on the front-end.
Reproduction steps
"I added a custom field set to contacts, which I set to appear in a tab, then a 'note' type field and set it to be rich text. On a contact record, I added a couple of paragraphs (by hitting return between them) - looks good on the backend, but 2 x <br>
tags between each <p>
appearing on the front-end."
Current behaviour
Extra <br>
tags are added
Maybe related to this change: https://issues.civicrm.org/jira/browse/CRM-11598
Expected behaviour
Extra <br>
tags should not be added. Spacing should be handled with CSS.
Comments
Anything else you would like the reviewer to note.