/[gnuheter]/gnuheter/mainfile.php
ViewVC logotype

Diff of /gnuheter/mainfile.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.45 by aron, Thu Feb 27 19:23:34 2003 UTC revision 1.46 by jc, Mon Mar 17 19:19:54 2003 UTC
# Line 208  function nowordlinksshow($str) { Line 208  function nowordlinksshow($str) {
208  }  }
209    
210  function ampersand($str) {  function ampersand($str) {
211    $str = str_replace("&", "&", $str);          $str = str_replace("&", "&", $str);
212    $str = eregi_replace("&(#x?[0-9a-f]+;)", "&\\1", $str);          $str = eregi_replace("&(#x?[0-9a-f]+;)", "&\\1", $str);
213    $str = eregi_replace("&([a-z][a-z0-9]+;)", "&\\1", $str);          $str = eregi_replace("&([a-z][a-z0-9]+;)", "&\\1", $str);
214            return $str;
   return $str;  
215  }  }
216    
217  function printAllowedHTML() {  function printAllowedHTML() {

Legend:
Removed from v.1.45  
changed lines
  Added in v.1.46

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26