With the help of this tool, You can eliminate white spaces from blocks of text content.
https://www.wordcharactercount.com/empty-line-remover/