diff options
Diffstat (limited to 'includes')
-rw-r--r-- | includes/menu.inc | 4 | ||||
-rw-r--r-- | includes/theme.inc | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/includes/menu.inc b/includes/menu.inc index 1fd93ccdd..d4e727a28 100644 --- a/includes/menu.inc +++ b/includes/menu.inc @@ -1067,7 +1067,7 @@ function theme_menu_item($link, $has_children, $menu = '', $in_active_trail = FA if ($in_active_trail) { $class .= ' active-trail'; } - return '<li class="'. $class .'">'. $link . $menu .'</li>'."\n"; + return '<li class="'. $class .'">'. $link . $menu ."</li>\n"; } /** @@ -1076,7 +1076,7 @@ function theme_menu_item($link, $has_children, $menu = '', $in_active_trail = FA * @ingroup themeable */ function theme_menu_local_task($link, $active = FALSE) { - return '<li '. ($active ? 'class="active" ' : '') .'>'. $link .'</li>'; + return '<li '. ($active ? 'class="active" ' : '') .'>'. $link ."</li>\n"; } /** diff --git a/includes/theme.inc b/includes/theme.inc index 26f1eaa27..51957186b 100644 --- a/includes/theme.inc +++ b/includes/theme.inc @@ -1429,7 +1429,7 @@ function theme_item_list($items = array(), $title = NULL, $type = 'ul', $attribu if ($i == $num_items - 1) { $attributes['class'] = empty($attributes['class']) ? 'last' : ($attributes['class'] .' last'); } - $output .= '<li'. drupal_attributes($attributes) .'>'. $data .'</li>'; + $output .= '<li'. drupal_attributes($attributes) .'>'. $data ."</li>\n"; } $output .= "</$type>"; } |