From: vincent@cubedesigners.com Date: Thu, 17 Sep 2020 14:08:31 +0000 (+0000) Subject: done #3733 @0.5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=61fe77d4d1bb264fdb293fb0fae1af1546939fb0;p=cubeextranet.git done #3733 @0.5 --- 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 .= '';