From 75bb0197608b917ca15446d105f90a6904c1478b Mon Sep 17 00:00:00 2001 From: Rasmus Lerdorf Date: Sun, 30 Jul 2000 05:04:06 +0000 Subject: [PATCH] Fix bug in strip_tags function as per bug #5857 @ Fix bug in strip_tags function as per bug #5857 (Rasmus) --- ext/standard/string.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/standard/string.c b/ext/standard/string.c index 64430c819e..62d81e4bf5 100644 --- a/ext/standard/string.c +++ b/ext/standard/string.c @@ -2484,6 +2484,7 @@ PHPAPI void php_strip_tags(char *rbuf, int len, int state, char *allow, int allo } else if (state == 2) { if (!br && lc != '\"' && *(p-1)=='?') { state = 0; + tp = tbuf; } } break; -- 2.50.1