diff options
author | tailor <cygnus@janrain.com> | 2007-03-12 19:13:55 +0000 |
---|---|---|
committer | tailor <cygnus@janrain.com> | 2007-03-12 19:13:55 +0000 |
commit | 42ef9952383e5517fef269b3efd669325c59ad44 (patch) | |
tree | 4747359a14d59068761a3cea325df613811d0c87 /Auth/Yadis/ParseHTML.php | |
parent | 57ae1417c4a06d713370adee98e49df52bd2a67d (diff) | |
download | php-openid-42ef9952383e5517fef269b3efd669325c59ad44.zip php-openid-42ef9952383e5517fef269b3efd669325c59ad44.tar.gz php-openid-42ef9952383e5517fef269b3efd669325c59ad44.tar.bz2 |
[project @ [2/2] Change Services_Yadis_ and Services/Yadis/]
Diffstat (limited to 'Auth/Yadis/ParseHTML.php')
-rw-r--r-- | Auth/Yadis/ParseHTML.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Auth/Yadis/ParseHTML.php b/Auth/Yadis/ParseHTML.php index 2906645..75e0bc9 100644 --- a/Auth/Yadis/ParseHTML.php +++ b/Auth/Yadis/ParseHTML.php @@ -20,7 +20,7 @@ * * @package Yadis */ -class Services_Yadis_ParseHTML { +class Auth_Yadis_ParseHTML { /** * @access private @@ -37,7 +37,7 @@ class Services_Yadis_ParseHTML { */ var $_attr_find = '\b([-\w]+)=(".*?"|\'.*?\'|.+?)[\s>]'; - function Services_Yadis_ParseHTML() + function Auth_Yadis_ParseHTML() { $this->_attr_find = sprintf("/%s/%s", $this->_attr_find, @@ -185,7 +185,8 @@ class Services_Yadis_ParseHTML { if (!is_null($key_tags_pos[0]) && $key_tags_pos[1] < $key_tags_pos[0]) { return array(); } - $html_string = substr($html_string, $key_tags_pos[1], ($key_tags_pos[2]-$key_tags_pos[1])); + $html_string = substr($html_string, $key_tags_pos[1], + ($key_tags_pos[2]-$key_tags_pos[1])); $link_data = array(); $link_matches = array(); |