Index: quotes.module =================================================================== RCS file: /cvs/drupal/contributions/modules/quotes/quotes.module,v retrieving revision 1.19.2.1.2.51 diff -u -r1.19.2.1.2.51 quotes.module --- quotes.module 23 Feb 2009 01:43:42 -0000 1.19.2.1.2.51 +++ quotes.module 7 Sep 2009 04:47:24 -0000 @@ -632,6 +632,12 @@ if (!$block['show_citation']) { unset($node->quotes_citation); } + else { + if( preg_match('/^(http|https|ftp):\/\/[a-z0-9]+([\-\.]{1}[a-z0-9]+)*\.[a-z]{2,6}' +.'((:[0-9]{1,5})?\/.*)?$/i' ,$node->quotes_citation)) { + $node->quotes_citation = l($node->quotes_citation, $node->quotes_citation, array('attributes' => array('target' => '_blank'))); + } + } // We don't want bios in a block. unset($node->quotes_bio); // Quotes_view builds $node->content['body'].