Browse Source

Fix bug in strip_tags function as per bug #5857

@ Fix bug in strip_tags function as per bug #5857 (Rasmus)
PHP-4.0.5
Rasmus Lerdorf 26 years ago
parent
commit
75bb019760
  1. 1
      ext/standard/string.c

1
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;

Loading…
Cancel
Save