textarea assignment has a lot of spaces and blank lines

To write this:

<textarea id="planContent" ><c:out value="${planContent }"/></textarea>

 

Note that the textarea does not wrap and cannot be written in the following format

<textarea id="planContent" >

<c:out value="${planContent }"/>

</textarea>

Once the line is changed, it will cause spaces to appear. In addition, textarea has no value attribute and cannot be assigned by value.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324972562&siteId=291194637