From 33a74b65b3702c44a55891d3001d54667e89a15a Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 17 Feb 2023 01:53:24 +0100 Subject: [PATCH] Fix ul must contains li only --- htdocs/website/class/website.class.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/htdocs/website/class/website.class.php b/htdocs/website/class/website.class.php index 9cc470a5954..92a2b8f6b45 100644 --- a/htdocs/website/class/website.class.php +++ b/htdocs/website/class/website.class.php @@ -1562,9 +1562,9 @@ class Website extends CommonObject if ($countrycode == 'us') { $label = preg_replace('/\s*\(.*\)/', '', $label); } - $out .= '
  • '.$label.''; + $out .= '
  • '.$label.''; $out .= ''; - $out .= '
  • '; + $out .= ''; } $i = 0; if (is_array($languagecodes)) { @@ -1583,11 +1583,11 @@ class Website extends CommonObject if ($countrycode == 'us') { $label = preg_replace('/\s*\(.*\)/', '', $label); } - $out .= '
  • '.$label.''; + $out .= '
  • '.$label.''; if (empty($i) && empty($languagecodeselected)) { $out .= ''; } - $out .= '
  • '; + $out .= ''; $i++; } }