trim string before putting into textarea

This commit is contained in:
Hash Borgir 2023-06-14 03:21:42 -06:00
parent 9ed54b5d33
commit e379ae20e3
2 changed files with 5 additions and 1 deletions

View File

@ -72,7 +72,7 @@ if ($cmd == "getTable") {
foreach ($fileLines as $line) {
$row = explode("\t", $line);
$key = $row[0];
$string = $row[1];
$string = trim($row[1]);
$rowData = [
'rowid' => $rowid,

4
src/tabs/Tbl.php Normal file
View File

@ -0,0 +1,4 @@
<?php
require_once getcwd() . '/TblEditorGUI_TAB.php';