Fix strip_tags to not strip a lone > character

@ Fix strip_tags to not strip a lone > character (Rasmus)
This commit is contained in:
Rasmus Lerdorf 2001-02-02 13:47:02 +00:00
parent ab60971ec4
commit 6745b16c82

View File

@ -2800,6 +2800,8 @@ PHPAPI void php_strip_tags(char *rbuf, int len, int state, char *allow, int allo
state = 0;
tp = tbuf;
}
} else {
*(rp++) = c;
}
break;