There is a textarea in which I am through $("#text").val(res); write down the text. The problem is that the text starts to be recorded from the second line, as if at first it is <br> . What could be the problem?
<textarea style="width: 100%; height: 70%; resize: none; border-color: #ffffff; font-size: 20px; color: #000000;" id="text"/>