Parent Directory | Revision Log | Patch
revision 1.9 by ravilov, Fri Sep 7 12:55:13 2001 UTC | revision 1.10 by ravilov, Fri Sep 7 15:07:17 2001 UTC | |
---|---|---|
# | Line 24 | Line 24 |
24 | } | } |
25 | ||
26 | function MyEscape($str) { | function MyEscape($str) { |
return $str; | ||
27 | $allowed = array("", "A", "B", "I", "U", "UL", "OL", "LI"); | $allowed = array("", "A", "B", "I", "U", "UL", "OL", "LI"); |
28 | $str = preg_replace("/(^\\s+|\\s+$)/", "", $str); | $str = preg_replace("/(^\\s+|\\s+$)/", "", $str); |
29 | $str = preg_replace("/(\\<\\/?\\s*(\\w+)\\b[^\\>]*\\>)/e", "array_search(MyUpper('\\2'),". | $str = preg_replace("/(\\<\\/?\\s*(\\w+)\\b[^\\>]*\\>)/e", "array_search(MyUpper('\\2'),". |
|
ViewVC Help | |
Powered by ViewVC 1.1.26 |