]> git.donarmstrong.com Git - roundcube.git/blobdiff - program/lib/html2text.php
Imported Upstream version 0.2.2
[roundcube.git] / program / lib / html2text.php
index e78ea10a943936008cdc22263b2a7bd512856c76..dbf0943d54f8e0c6d77d49dea859e350113218f6 100644 (file)
@@ -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++;