When you text contains many empty lines, just paste your text in the textarea, it will delete all lines that are empty.