mysql remova a última nova linha vazia
update mytable SET title = TRIM(TRAILING '\n' FROM title)
Alberto Peripolli
update mytable SET title = TRIM(TRAILING '\n' FROM title)