Parent Directory | Revision Log | Patch
revision 1.44 by pawal, Sun Feb 23 22:40:55 2003 UTC | revision 1.45 by aron, Thu Feb 27 19:23:34 2003 UTC | |
---|---|---|
# | Line 208 function nowordlinksshow($str) { | Line 208 function nowordlinksshow($str) { |
208 | } | } |
209 | ||
210 | function ampersand($str) { | function ampersand($str) { |
211 | $str = ereg_replace('&', '&', $str); | $str = str_replace("&", "&", $str); |
212 | $str = ereg_replace('&([a-z]+;)', '&\\1', $str); | $str = eregi_replace("&(#x?[0-9a-f]+;)", "&\\1", $str); |
213 | $str = eregi_replace("&([a-z][a-z0-9]+;)", "&\\1", $str); | |
214 | ||
215 | return $str; | return $str; |
216 | } | } |
217 | ||
218 | function printAllowedHTML() { | function printAllowedHTML() { |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |