Parent Directory | Revision Log | Patch
revision 1.1 by ravilov, Fri Aug 3 09:56:32 2001 UTC | revision 1.2 by ravilov, Fri Aug 3 11:21:16 2001 UTC | |
---|---|---|
# | Line 4 | Line 4 |
4 | $str = preg_replace("/(\<\/?\s*(\w+)>[^\>]*\>)/e", | $str = preg_replace("/(\<\/?\s*(\w+)>[^\>]*\>)/e", |
5 | "array_search(strtoupper('\\2'),\$allowed,false)?'\\1':HTMLSpecialChars('\\1')", | "array_search(strtoupper('\\2'),\$allowed,false)?'\\1':HTMLSpecialChars('\\1')", |
6 | $str); | $str); |
7 | $str = preg_replace("/(^\s+|\s+$)/", "", $str); | |
8 | return $str; | return $str; |
9 | } | } |
10 | function ParseNewline($str) { | function ParseNewline($str) { |
|
ViewVC Help | |
Powered by ViewVC 1.1.26 |