diff options
-rw-r--r-- | includes/theme.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/theme.inc b/includes/theme.inc index dae26aa94..424cde1c0 100644 --- a/includes/theme.inc +++ b/includes/theme.inc @@ -1119,7 +1119,7 @@ function theme_links($links, $attributes = array('class' => 'links')) { if (isset($link['href']) && ($link['href'] == $_GET['q'] || ($link['href'] == '<front>' && drupal_is_front_page()))) { $class .= ' active'; } - $output .= '<li class="' . $class . '">'; + $output .= '<li' . drupal_attributes(array('class' => $class)) . '>'; if (isset($link['href'])) { // Pass in $link as $options, they share the same keys. |