cvs: php4 /ext/standard string.c
| From: | Rasmus Lerdorf | Date: | Fri, 02 Feb 2001 13:47:02 +0000 |
| Subject: | cvs: php4 /ext/standard string.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-3865@lists.php.net to get a copy of this message | ||
rasmus Fri Feb 2 05:47:02 2001 EDT
Modified files:
/php4/ext/standard string.c
Log:
Fix strip_tags to not strip a lone > character
@ Fix strip_tags to not strip a lone > character (Rasmus)
Index: php4/ext/standard/string.c
diff -u php4/ext/standard/string.c:1.186 php4/ext/standard/string.c:1.187
--- php4/ext/standard/string.c:1.186 Mon Jan 22 13:39:55 2001
+++ php4/ext/standard/string.c Fri Feb 2 05:47:02 2001
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: string.c,v 1.186 2001/01/22 21:39:55 andrei Exp $ */
+/* $Id: string.c,v 1.187 2001/02/02 13:47:02 rasmus Exp $ */
/* Synced with php 3.0 revision 1.193 1999-06-16 [ssb] */
@@ -2800,6 +2800,8 @@
state = 0;
tp = tbuf;
}
+ } else {
+ *(rp++) = c;
}
break;