Commit 8028bc2e authored by Gábor Hojtsy's avatar Gábor Hojtsy
Browse files

#196953 by JirkaRybka: add target attribute to 'read more' links generated to...

#196953 by JirkaRybka: add target attribute to 'read more' links generated to RSS feed teasers for RSS reader usability
parent 3d22fe43
......@@ -1579,7 +1579,7 @@ function node_feed($nids = FALSE, $channel = array()) {
case 'teaser':
$item_text = $item->teaser;
if (!empty($item->readmore)) {
$item_text .= '<p>'. l(t('read more'), 'node/'. $item->nid, array('absolute' => TRUE)) .'</p>';
$item_text .= '<p>'. l(t('read more'), 'node/'. $item->nid, array('absolute' => TRUE, 'attributes' => array('target' => '_blank'))) .'</p>';
}
break;
case 'title':
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment