From 902b4e3d85ccb2235fd8a3b6146143b131210b4f Mon Sep 17 00:00:00 2001 From: Nicolas Boisselier Date: Tue, 19 Nov 2024 02:06:47 +0100 Subject: [PATCH] www/dbq/dbq.php --- www/dbq/dbq.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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, -- 2.47.3