]> git.donarmstrong.com Git - roundcube.git/blobdiff - program/lib/enriched.inc
Imported Upstream version 0.3
[roundcube.git] / program / lib / enriched.inc
index 2435a8233dbec3b67b8307ea0e04e71e0e4fcbcd..e3abd8c4fa186d623af7025907159761331e7564 100644 (file)
@@ -45,7 +45,7 @@ function enriched_convert_formatting($body){
                        '</indentright>'=>'</span>');
        
        while(list($find,$replace)=each($a)){
-               $body = eregi_replace($find,$replace,$body);
+               $body = preg_replace('#'.$find.'#i', $replace, $body);
        }
        return $body;
 }