[pLog-svn] r647 - plog/trunk/class/data
subaochen at devel.plogworld.net
subaochen at devel.plogworld.net
Mon Jan 3 00:00:38 GMT 2005
Author: subaochen
Date: 2005-01-03 00:00:38 +0000 (Mon, 03 Jan 2005)
New Revision: 647
Modified:
plog/trunk/class/data/textfilter.class.php
Log:
make it work with Chinese...
Modified: plog/trunk/class/data/textfilter.class.php
===================================================================
--- plog/trunk/class/data/textfilter.class.php 2005-01-02 23:58:51 UTC (rev 646)
+++ plog/trunk/class/data/textfilter.class.php 2005-01-03 00:00:38 UTC (rev 647)
@@ -334,7 +334,7 @@
// put all the html entities back to what they should be
$result = $this->htmlDecode( $result );
// and remove everything which is not letters or numbers
- $result = preg_replace( "/[^A-Za-z0-9_]/", " ", $result );
+ $result = ereg_replace( "/[^A-Za-z0-9_]/", " ", $result );
// finally, remove the unnecessary spaces
$result = preg_replace( "/ +/", " ", $result );
More information about the pLog-svn
mailing list