Some HTML validation fixes (don't render empty <ul> lists, empty id attributes, use &amp; not &)

This commit is contained in:
Andy Staudacher
2010-02-12 20:59:26 -08:00
parent f5d00863b8
commit 36702b1397
7 changed files with 22 additions and 9 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
<?php defined("SYSPATH") or die("No direct script access.") ?>
<li>
<a id="<?= $menu->css_id ?>"
<a <?= $menu->css_id ? "id='{$menu->css_id}'" : "" ?>
class="g-menu-link <?= $menu->css_class ?>"
href="<?= $menu->url ?>"
title="<?= $menu->label->for_html_attr() ?>">