| @@ -1,8 +1,8 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Website: https://sourceforge.net/projects/simplehtmldom/ | |
| 4 | - * Additional projects that may be used: https://sourceforge.net/projects/debugobject/ | |
| 3 | + * Website: http://sourceforge.net/projects/simplehtmldom/ | |
| 4 | + * Additional projects that may be used: http://sourceforge.net/projects/debugobject/ | |
| 5 | 5 | * Acknowledge: Jose Solorzano (https://sourceforge.net/projects/php-html/) |
| 6 | 6 | * Contributions by: |
| 7 | 7 | * Yousuke Kumakura (Attribute filters) |
| 8 | 8 | * Vadim Voituk (Negative indexes supports of "find" method) |
| @@ -1064,9 +1064,9 @@ | ||
| 1064 | 1064 | // strip out cdata |
| 1065 | 1065 | $this->remove_noise("'<!\[CDATA\[(.*?)\]\]>'is", true); |
| 1066 | 1066 | // strip out comments |
| 1067 | 1067 | $this->remove_noise("'<!--(.*?)-->'is"); |
| 1068 | - // Per sourceforge https://sourceforge.net/tracker/?func=detail&aid=2949097&group_id=218559&atid=1044037 | |
| 1068 | + // Per sourceforge http://sourceforge.net/tracker/?func=detail&aid=2949097&group_id=218559&atid=1044037 | |
| 1069 | 1069 | // Script tags removal now preceeds style tag removal. |
| 1070 | 1070 | // strip out <script> tags |
| 1071 | 1071 | $this->remove_noise("'<\s*script[^>]*[^/]>(.*?)<\s*/\s*script\s*>'is"); |
| 1072 | 1072 | $this->remove_noise("'<\s*script\s*>(.*?)<\s*/\s*script\s*>'is"); |
| @@ -1505,9 +1505,9 @@ | ||
| 1505 | 1505 | |
| 1506 | 1506 | // parse attributes |
| 1507 | 1507 | protected function parse_attr($node, $name, &$space) |
| 1508 | 1508 | { |
| 1509 | - // Per sourceforge: https://sourceforge.net/tracker/?func=detail&aid=3061408&group_id=218559&atid=1044037 | |
| 1509 | + // Per sourceforge: http://sourceforge.net/tracker/?func=detail&aid=3061408&group_id=218559&atid=1044037 | |
| 1510 | 1510 | // If the attribute is already defined inside a tag, only pay atetntion to the first one as opposed to the last one. |
| 1511 | 1511 | if (isset($node->attr[$name])) |
| 1512 | 1512 | { |
| 1513 | 1513 | return; |
| @@ -1741,5 +1741,5 @@ | ||
| 1741 | 1741 | function getElementsByTagName($name, $idx=-1) {return $this->find($name, $idx);} |
| 1742 | 1742 | function loadFile() {$args = func_get_args();$this->load_file($args);} |
| 1743 | 1743 | } |
| 1744 | 1744 | |
| 1745 | -?> | |
| 1745 | +?> | |