Skip to content

Commit

Permalink
Merge pull request civicrm#6 from dlobo/CRM-12245
Browse files Browse the repository at this point in the history
CRM-12245
  • Loading branch information
kurund committed Apr 1, 2013
2 parents fd4eed6 + 27c8134 commit 8cbe8e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion html2text/class.html2text.inc
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ class html2text
function _build_link_list( $link, $display )
{
if ( substr($link, 0, 7) == 'http://' || substr($link, 0, 8) == 'https://' ||
substr($link, 0, 7) == 'mailto:' ) {
substr($link, 0, 7) == 'mailto:' || preg_match('/{[^}]+}/', $link)) {
$this->_link_count++;
$this->_link_list .= "[" . $this->_link_count . "] $link\n";
$additional = ' [' . $this->_link_count . ']';
Expand Down

0 comments on commit 8cbe8e5

Please sign in to comment.