When using the WYSIWYG plugin to edit the contents of a call to the WYSIWYG plugin containing several consecutive line breaks, some of these newlines can be removed when saving.
This happens in Tiki 15, but did not happen in Tiki 12, as a result of r55910. This can be solved by removing the line added in r55910, as shown in the attached patch. This patch also solves issue #6591. But I've ended up only applying the changes to parserlib.php due to issues described in my third comment in #6591.
To help developers solve the bug, we kindly request that you demonstrate your bug on a show2.tiki.org instance. To start, simply select a version and click on "Create show2.tiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show2.tiki.org.
To help developers solve the bug, we kindly request that you demonstrate your bug on a show.tikiwiki.org instance. To start, simply select a version and click on "Create show.tikiwiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show.tikiwiki.org.