diff --git a/modules/node/node.pages.inc b/modules/node/node.pages.inc index d92e8b7..33d0c3a 100644 --- a/modules/node/node.pages.inc +++ b/modules/node/node.pages.inc @@ -42,7 +42,9 @@ function theme_node_add_list($variables) { if ($content) { $output = '
'; foreach ($content as $item) { - $output .= '
' . l($item['title'], $item['href'], $item['localized_options']) . '
'; + $options = $item['localized_options']; + $options['attributes']['class'][] = drupal_html_class($item['title']); + $output .= '
' . l($item['title'], $item['href'], $options) . '
'; $output .= '
' . filter_xss_admin($item['description']) . '
'; } $output .= '
'; diff --git a/themes/seven/template.php b/themes/seven/template.php index b78f5ab..6c16586 100644 --- a/themes/seven/template.php +++ b/themes/seven/template.php @@ -43,8 +43,10 @@ function seven_node_add_list($variables) { if ($content) { $output = '