cvs diff: Diffing .
Index: performance_hacks.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/performance_hacks/performance_hacks.module,v
retrieving revision 1.45
diff -u -p -r1.45 performance_hacks.module
--- performance_hacks.module	12 Jan 2011 02:03:07 -0000	1.45
+++ performance_hacks.module	18 Jan 2011 14:38:42 -0000
@@ -404,15 +404,22 @@ function _performance_hacks_node_build_c
   // Always display a read more link on teasers because we have no way
   // to know when a teaser view is different than a full view.
   $links = array();
+  $node->content['links'] = array(
+    '#theme' => 'links__node',
+    '#pre_render' => array('drupal_pre_render_links'),
+    '#attributes' => array('class' => array('links', 'inline')),
+  );
   if ($view_mode == 'teaser') {
+    $node_title_stripped = strip_tags($node->title);
     $links['node-readmore'] = array(
-      'title' => t('Read more'),
+      'title' => t('Read more<span class="element-invisible"> about @title</span>', array('@title' => $node_title_stripped)),
       'href' => 'node/' . $node->nid,
-      'attributes' => array('rel' => 'tag', 'title' => strip_tags($node->title))
+      'html' => TRUE,
+      'attributes' => array('rel' => 'tag', 'title' => $node_title_stripped),
     );
   }
-  $node->content['links'] = array(
-    '#theme' => 'links__node',
+  $node->content['links']['node'] = array(
+    '#theme' => 'links__node__node',
     '#links' => $links,
     '#attributes' => array('class' => array('links', 'inline')),
   );
