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;
 



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to