Bug #11796: get_meta_tags doesn't work when the title tag consists of single quote
| From: | teocl at globalsources dot com | Date: | Fri, 29 Jun 2001 07:18:17 +0000 |
| Subject: | Bug #11796: get_meta_tags doesn't work when the title tag consists of single quote | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-58432@lists.php.net to get a copy of this message | ||
From: teocl@globalsources.com
Operating system: Linux
PHP version: 4.0.5
PHP Bug Type: Unknown/Other Function
Bug description: get_meta_tags doesn't work when the title tag consists of single quote
get_meta_tags will get nothing when this statics file is used.(please see the code down there)
Only when the single quote inside the title tag removed, then the meta will be retrieved. I have
tried to use this code inside PHP Version 4.0.4, and it works.
Does anyone has any clue about it?
<html>
<head>
<TITLE>Sanmina acquires Alcatel's manufacturing operations in Texas</TITLE>
<META NAME="VERSION" CONTENT="2.1"/>
<META NAME="ISSUE" CONTENT="121345"/>
<META NAME="STARTDATE" CONTENT="27-JUN-2001"/>
</head>
</html>
Thanks.
--
Edit Bug report at: http://bugs.php.net/?id=11796&edit=1