cvs: php4 /ext/standard string.c
| From: | Rasmus Lerdorf | Date: | Sun, 30 Jul 2000 05:04:06 +0000 |
| Subject: | cvs: php4 /ext/standard string.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-986@lists.php.net to get a copy of this message | ||
rasmus Sat Jul 29 22:04:06 2000 EDT
Modified files:
/php4/ext/standard string.c
Log:
Fix bug in strip_tags function as per bug #5857
@ Fix bug in strip_tags function as per bug #5857 (Rasmus)
Index: php4/ext/standard/string.c
diff -u php4/ext/standard/string.c:1.141 php4/ext/standard/string.c:1.142
--- php4/ext/standard/string.c:1.141 Wed Jul 26 04:43:01 2000
+++ php4/ext/standard/string.c Sat Jul 29 22:04:06 2000
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: string.c,v 1.141 2000/07/26 11:43:01 eschmid Exp $ */
+/* $Id: string.c,v 1.142 2000/07/30 05:04:06 rasmus Exp $ */
/* Synced with php 3.0 revision 1.193 1999-06-16 [ssb] */
@@ -2484,6 +2484,7 @@
} else if (state == 2) {
if (!br && lc != '\"' && *(p-1)=='?') {
state = 0;
+ tp = tbuf;
}
}
break;