new line fix

fixed bug: even if a new line is inserted in text, the text will appear
on same line after saving it