From aa14404c2af0de1690ac598d4272298d510d43e9 Mon Sep 17 00:00:00 2001 From: ghost Date: Mon, 4 Mar 2024 11:58:41 +0200 Subject: [PATCH] add empty line separators --- src/server.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/server.php b/src/server.php index 624fce5..e482dfb 100644 --- a/src/server.php +++ b/src/server.php @@ -237,7 +237,7 @@ $server->setHandler( else { - $result[] = ''; + $result[] = null; foreach ($config->geminiapp->links as $link) { @@ -260,6 +260,7 @@ $server->setHandler( ); // Append h2 + $result[] = null; $result[] = sprintf( '## %s', $search ? $config->geminiapp->string->results : $config->geminiapp->string->latest @@ -271,6 +272,7 @@ $server->setHandler( foreach ($records as $record) { // Key + $result[] = null; $result[] = sprintf( '### %s', trim( @@ -300,7 +302,6 @@ $server->setHandler( // Link $result[] = null; - $result[] = sprintf( '=> /%s %s in %d', $record['transaction'], @@ -313,10 +314,12 @@ $server->setHandler( } // Append navigation + $result[] = null; $result[] = sprintf( '## %s', $config->geminiapp->string->navigation ); + $result[] = null; // Pagination $older = []; @@ -382,6 +385,7 @@ $server->setHandler( else { + $result[] = null; $result[] = $config->geminiapp->string->nothing; }