Revert "Fixed bug in HtmlSerializer output empty lines as <div></div> resulting in a line with height 0"

This reverts commit 041a68eb080f7e52cb7364177e784844f01e86c7.
Updated magicpen to avoid empty lines in html output
Revert "5.0.1"

This reverts commit 4c7ab07a7f029e576d0ef214923df2fbca0a0b51.