I believe a newline immediately after the <textarea>
tag is not included in its value. This allows you to write something like:
<textarea name="somename">
this is some
contents
</textarea>
without the value containing a newline before this
; it's treated equivalent to
<textarea name="somename">this is some
contents
</textarea>
So the solution is to always put a newline after <textarea>
before the variable.
<textarea>
<?php echo $content; ?></textarea>
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…