Fix multiple newline removal.