From 51ede06434097ef8d0697ee204fa998d6445d194 Mon Sep 17 00:00:00 2001 From: thomascube Date: Fri, 15 May 2009 10:22:29 +0000 Subject: Apply changes from r2348 to r2400 for 0.2.2 release --- program/lib/html2text.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'program/lib/html2text.php') diff --git a/program/lib/html2text.php b/program/lib/html2text.php index e78ea10a9..dbf0943d5 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++; -- cgit v1.2.3