summaryrefslogtreecommitdiff
path: root/modules/node
diff options
context:
space:
mode:
Diffstat (limited to 'modules/node')
-rw-r--r--modules/node/node.module6
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/node/node.module b/modules/node/node.module
index bfad1a07a..ae193a68d 100644
--- a/modules/node/node.module
+++ b/modules/node/node.module
@@ -1349,10 +1349,12 @@ function node_build_content($node, $view_mode = 'full', $langcode = NULL) {
'#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']['node'] = array(