How can i stop this?
Without spaces between the textarea tags, as you have right now:
<textarea id="note-text" rows="6" placeholder="Add a note" …> </textarea>
This is a line break (first, a line break at the beginning is ignored by browsers), and then there are spaces before the closing tag, so they are also part of the contents of the value of your text field, because this is how the contents of the text field are written between the open and close labels.
If you do not need content there, do not post content there:
<textarea …></textarea>
source share