Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Wednesday, October 14, 2026

Diff for phpPlatonLib/Platon/Platon.php between version 1.30 and 1.31

version 1.30, 2005/02/01 16:51:11 version 1.31, 2005/02/19 11:33:46
Line 24 
Line 24 
  * @access      public   * @access      public
  */   */
   
 /* $Platon: phpPlatonLib/Platon/Platon.php,v 1.29 2004/12/31 16:03:27 nepto Exp $ */  /* $Platon: phpPlatonLib/Platon/Platon.php,v 1.30 2005/02/01 16:51:11 nepto Exp $ */
   
 class Platon  class Platon
 {  {
Line 581  class Platon
Line 581  class Platon
         return str_replace(' ', ' ', htmlspecialchars($str));          return str_replace(' ', ' ', htmlspecialchars($str));
     } /* }}} */      } /* }}} */
   
       /*
        * Replaces tilde with non-breaking space
        *
        * @param   string  $str    input string
        * @return  string          replaced string
        */
       function tilde_replace($str) /* {{{ */
       {
           $str = str_replace('/~', '/<TILDE>', $str);
           $str = str_replace('~', '&nbsp;', $str);
           $str = preg_replace('|<TILD[AE]?>|i', '~', $str);
           return $str;
       } /* }}} */
   
     /**      /**
      * Computes MD5sum of file like `md5sum' command does it.       * Computes MD5sum of file like `md5sum' command does it.
      *       *

Legend:
Removed from v.1.30  
changed lines
  Added in v.1.31

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top