From c42b88308683fccfc7710a39a363d98270ade39b Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Thu, 15 Jan 2009 20:31:17 +0000 Subject: [PATCH] Fix dd in action I think these definition lists are ridiculous, and I particularly resent having to debug them. --- lib/action.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/action.php b/lib/action.php index 097b0d92e7..057b4a19a0 100644 --- a/lib/action.php +++ b/lib/action.php @@ -235,6 +235,7 @@ class Action extends HTMLOutputter // lawsuit { $this->elementStart('dl', array('id' => 'site_nav_global_primary')); $this->element('dt', null, _('Primary site navigation')); + $this->elementStart('dd'); $user = common_current_user(); $this->elementStart('ul', array('id' => 'nav')); if ($user) { @@ -259,6 +260,7 @@ class Action extends HTMLOutputter // lawsuit $this->menuItem(common_local_url('doc', array('title' => 'help')), _('Help')); $this->elementEnd('ul'); + $this->elementEnd('dd'); $this->elementEnd('dl'); }