How to write this tpl file?

there are three lines in the template

    <textarea  id="content" readonly="readonly">
        {$results}
    </textarea> 
    

it looks good. Here comes the problem. When textarea is displayed, four spaces will appear in the front of the line.
solution 1:

    <textarea  id="content" readonly="readonly">{$results}
    </textarea> 
    

solution 2:
use js to read the innerHTML of textarea, and then use replace to remove the first space.

I don"t think either of these methods is very good. Is there the best way?

Mar.30,2022

indicates that your results has four space characters. Process the data first, and then replace the template.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1eaab6d-1ffb.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1eaab6d-1ffb.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?