From 61fe77d4d1bb264fdb293fb0fae1af1546939fb0 Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Thu, 17 Sep 2020 14:08:31 +0000 Subject: [PATCH] done #3733 @0.5 --- inc/ws/Util/html5/master/class.ws.html5.compiler.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/inc/ws/Util/html5/master/class.ws.html5.compiler.php b/inc/ws/Util/html5/master/class.ws.html5.compiler.php index b392685e0..b0ecd4cc9 100644 --- a/inc/ws/Util/html5/master/class.ws.html5.compiler.php +++ b/inc/ws/Util/html5/master/class.ws.html5.compiler.php @@ -2610,7 +2610,15 @@ class wsHTML5Compiler $lead = ''; $image = ''; + $first=true; + foreach ($a->children() as $child) { + if($first){ + $first=false; + if($child->getName()!=='category'){ + $inner.='

 

'; + } + } $inner .= $this->_articleToHTML($child, $title, $lead, $image); } $inner .= ''; -- 2.39.5