When writing the code in html, it was caused by the "line break" as shown below.
<textarea>
<%= %>
</textarea>
<textarea><%= %></textarea>
After correcting it like the code below, the first whitespace was successfully fixed.
Recommended Posts