|
|
@ -522,9 +522,9 @@ class html2text
|
|
|
|
$this->_link_count++;
|
|
|
|
$this->_link_count++;
|
|
|
|
$this->_link_list .= "[" . $this->_link_count . "] $link\n";
|
|
|
|
$this->_link_list .= "[" . $this->_link_count . "] $link\n";
|
|
|
|
$additional = ' [' . $this->_link_count . ']';
|
|
|
|
$additional = ' [' . $this->_link_count . ']';
|
|
|
|
} elseif ( substr($link, 0, 11) == 'javascript:' ) {
|
|
|
|
} elseif ( substr($link, 0, 11) == 'javascript:' ) {
|
|
|
|
// Don't count the link; ignore it
|
|
|
|
// Don't count the link; ignore it
|
|
|
|
$additional = '';
|
|
|
|
$additional = '';
|
|
|
|
// what about href="#anchor" ?
|
|
|
|
// what about href="#anchor" ?
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
$this->_link_count++;
|
|
|
|
$this->_link_count++;
|
|
|
|