From 8028bc2e76e22beda2ab9002ec177e5fcdb98eb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Hojtsy?= Date: Tue, 11 Dec 2007 12:42:37 +0000 Subject: #196953 by JirkaRybka: add target attribute to 'read more' links generated to RSS feed teasers for RSS reader usability --- modules/node/node.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/node/node.module') diff --git a/modules/node/node.module b/modules/node/node.module index 04413a802..601260227 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -1579,7 +1579,7 @@ function node_feed($nids = FALSE, $channel = array()) { case 'teaser': $item_text = $item->teaser; if (!empty($item->readmore)) { - $item_text .= '

'. l(t('read more'), 'node/'. $item->nid, array('absolute' => TRUE)) .'

'; + $item_text .= '

'. l(t('read more'), 'node/'. $item->nid, array('absolute' => TRUE, 'attributes' => array('target' => '_blank'))) .'

'; } break; case 'title': -- cgit v1.2.3