]> _ Git - cubeextranet.git/commitdiff
done #3733 @0.5
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Thu, 17 Sep 2020 14:08:31 +0000 (14:08 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Thu, 17 Sep 2020 14:08:31 +0000 (14:08 +0000)
inc/ws/Util/html5/master/class.ws.html5.compiler.php

index b392685e03e916648039e721564d1606ea11268d..b0ecd4cc95b66ca0596107e87e0149a9f32952b4 100644 (file)
@@ -2610,7 +2610,15 @@ class wsHTML5Compiler
             $lead = '';
             $image = '';
 
+            $first=true;
+
             foreach ($a->children() as $child) {
+                if($first){
+                    $first=false;
+                    if($child->getName()!=='category'){
+                        $inner.='<h3>&nbsp;</h3>';
+                    }
+                }
                 $inner .= $this->_articleToHTML($child, $title, $lead, $image);
             }
             $inner .= '</div></article>';