Skip to content

Commit 0482ae7

Browse files
committed
Remove extra spaces in textarea
1 parent 33e6e02 commit 0482ae7

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

web/templates/pages/edit_server.html

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -981,13 +981,11 @@
981981
</tr>
982982
<tr>
983983
<td>
984-
<textarea size="20" class="vst-textinput short" name="v_api_allowed_ip">
985-
<?php
986-
foreach(explode(',',$_SESSION['API_ALLOWED_IP']) as $ip ){
987-
echo $ip."\n";
984+
<textarea size="20" class="vst-textinput short" name="v_api_allowed_ip"><?php
985+
foreach(explode(',',$_SESSION['API_ALLOWED_IP']) as $ip ){
986+
echo trim($ip)."\n";
988987
}
989-
?>
990-
</textarea>
988+
?></textarea>
991989
<br><br>
992990
</td>
993991
</tr>

0 commit comments

Comments
 (0)