cvs: php4 /ext/standard string.c
| From: | Moriyoshi Koizumi | Date: | Sun, 04 May 2003 11:45:58 +0000 |
| Subject: | cvs: php4 /ext/standard string.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-20672@lists.php.net to get a copy of this message | ||
moriyoshi Sun May 4 07:45:58 2003 EDT
Modified files:
/php4/ext/standard string.c
Log:
A quick fix for bug #22008
# BTW I'm working on an enhanced strip_tags implementation with re2c, which
# will feature more CSS awareness and more stateful scanning.
Index: php4/ext/standard/string.c
diff -u php4/ext/standard/string.c:1.377 php4/ext/standard/string.c:1.378
--- php4/ext/standard/string.c:1.377 Fri May 2 06:02:40 2003
+++ php4/ext/standard/string.c Sun May 4 07:45:58 2003
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: string.c,v 1.377 2003/05/02 10:02:40 andrey Exp $ */
+/* $Id: string.c,v 1.378 2003/05/04 11:45:58 moriyoshi Exp $ */
/* Synced with php 3.0 revision 1.193 1999-06-16 [ssb] */
@@ -3848,10 +3848,8 @@
break;
case 3: /* JavaScript/CSS/etc... */
- if (*(p-1) == '-' && *(p-2) == '-') {
- state = 0;
- tp = tbuf;
- }
+ state = 0;
+ tp = tbuf;
break;
default: