Fixed New lines under quote blocks get removed upon submit or save

Affected version
2.2 Beta 4

Onimua

Well-known member
If there are any intentional empty lines under a block of quoted text the first one will be removed upon initial post submission and on each successive edit until they are all removed (in other words, if there were five line breaks under the block, one would be removed at each time a user saves the post). The behavior can be seen immediately when clicking the 'Preview' button, removing the first empty line under the quoted text as seen below:

new-lines-and-quotes-edit.PNG
new-lines-and-quotes-preview.PNG
 

XF Bug Bot

XenForo bug fixer bot
Staff member
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XF release (2.2.0 Beta 6).

Change log:
Prevent line breaks from being stripped after quotes and some other block tags unexpectedly.
There may be a delay before changes are rolled out to the XenForo Community.
 
Top