X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=program%2Flib%2Fhtml2text.php;fp=program%2Flib%2Fhtml2text.php;h=dbf0943d54f8e0c6d77d49dea859e350113218f6;hb=162c8d010934c01433e8125382fb493712575198;hp=e78ea10a943936008cdc22263b2a7bd512856c76;hpb=1213c6e65f2bab1e140369839a9d0f6db28a9492;p=roundcube.git diff --git a/program/lib/html2text.php b/program/lib/html2text.php index e78ea10..dbf0943 100644 --- a/program/lib/html2text.php +++ b/program/lib/html2text.php @@ -522,9 +522,9 @@ class html2text $this->_link_count++; $this->_link_list .= "[" . $this->_link_count . "] $link\n"; $additional = ' [' . $this->_link_count . ']'; - } elseif ( substr($link, 0, 11) == 'javascript:' ) { - // Don't count the link; ignore it - $additional = ''; + } elseif ( substr($link, 0, 11) == 'javascript:' ) { + // Don't count the link; ignore it + $additional = ''; // what about href="#anchor" ? } else { $this->_link_count++;