From a5c040170cf7a4693c0174ab8567e7b8877fca0c Mon Sep 17 00:00:00 2001 From: Moriyoshi Koizumi Date: Fri, 16 May 2003 06:21:39 +0000 Subject: [PATCH] MFH(r-1.381): fixed bug #23650 --- ext/standard/string.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ext/standard/string.c b/ext/standard/string.c index 9b759071d2..97356ffc44 100644 --- a/ext/standard/string.c +++ b/ext/standard/string.c @@ -3450,6 +3450,8 @@ PHPAPI size_t php_strip_tags(char *rbuf, int len, int *stateptr, char *allow, in case '-': if (state == 3 && p >= buf + 2 && *(p-1) == '-' && *(p-2) == '!') { state = 4; + } else { + goto reg_char; } break; -- 2.40.0