From: Nicolas Boisselier Date: Tue, 19 Nov 2024 01:06:47 +0000 (+0100) Subject: www/dbq/dbq.php X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=902b4e3d85ccb2235fd8a3b6146143b131210b4f;p=nb.git www/dbq/dbq.php --- diff --git a/www/dbq/dbq.php b/www/dbq/dbq.php index 4c9ccbe6..7d6efea0 100644 --- a/www/dbq/dbq.php +++ b/www/dbq/dbq.php @@ -158,7 +158,8 @@ class DbQ extends nb { 'js' => $this->js, 'sep' => $this->sep_title, 'head' => [ - '', + # NB 19.11.24 '', + '', ], ]); @@ -1347,6 +1348,7 @@ EOF; // Sub if (!empty($line) and substr(trim($line), -1) !== ',' and !strpos($line, '=>')) { + if (strlen($line)<100) $sub = $line; #bye($sub); continue; @@ -1366,6 +1368,8 @@ EOF; } #if ($key == 'Additional .ini files parsed') continue; + #$val = preg_replace('((]+>)','${1}span${2}',$val); + $val = preg_replace('/(<\/?)(?:font)([\s>]|$)/','${1}span${2}',$val); $rows[] = [ 'section' => $section, 'sub' => $sub,