diff --git a/functions/strings.xml b/functions/strings.xml index c1661cc9c0..216a60d2bf 100644 --- a/functions/strings.xml +++ b/functions/strings.xml @@ -1,5 +1,5 @@ - + String functions Strings @@ -2506,8 +2506,8 @@ if (!strcasecmp($var1, $var2)) { should not be stripped. - Allowable_tags was added in PHP 3.0.13, - PHP4B3. + allowable_tags was added in PHP 3.0.13 + and PHP 4.0b3. @@ -2515,10 +2515,19 @@ if (!strcasecmp($var1, $var2)) { <function>strip_tags</function> example -$string = strip_tags($string, '<a><b><i>'); +$string = strip_tags($string, '<a><b><i><u>'); + + + This function does not modify any attributes on the tags that you allow + using allowable_tags, including the + style and onmouseover attributes + that a mischievous user may abuse when posting text that will be shown + to other users. + +