From ffc6260649c452eccf9962376783d628c9c0dcfe Mon Sep 17 00:00:00 2001 From: Dan Langille Date: Tue, 13 Aug 2019 15:48:18 +0000 Subject: [PATCH] Fix commit 49c05f2 which introduced a regression That HR should be in the HTML version only. Spotted by: feld --- www/search.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/www/search.php b/www/search.php index 1477d9ad..e70e4c02 100644 --- a/www/search.php +++ b/www/search.php @@ -1069,7 +1069,9 @@ function setfocus() { document.search.query.focus(); } $HTML .= $port_display->DisplayPlainText() . "\n"; break; } // switch - $HTML .= '
'; + if ($output_format == OUTPUT_FORMAT_HTML) { + $HTML .= '
'; + } } // for if ($output_format == OUTPUT_FORMAT_HTML) {