Fixed htmlCut() and chainCut() in Chaine class
This commit is contained in:
parent
371a2d2d26
commit
e59ae73731
@ -127,7 +127,7 @@ var $src = null;
|
|||||||
}
|
}
|
||||||
# on enlève les caractères spéciaux
|
# on enlève les caractères spéciaux
|
||||||
$tmp=unhtmlentities($tmp);
|
$tmp=unhtmlentities($tmp);
|
||||||
$tmp = eregi_replace("^[[:space:]]*[a-z]+[.)".chr(176)."]([[:space:]]*)", "",$tmp);
|
// $tmp = mb_eregi_replace("^[[:space:]]*[a-z]+[.)".chr(176)."]([[:space:]]*)", "",$tmp);
|
||||||
# on a maintenant une chaine propre à l'utilisation...
|
# on a maintenant une chaine propre à l'utilisation...
|
||||||
# On enleve les retours à la ligne
|
# On enleve les retours à la ligne
|
||||||
$tmp=str_replace(chr(13).chr(10),"",$tmp);
|
$tmp=str_replace(chr(13).chr(10),"",$tmp);
|
||||||
@ -152,8 +152,8 @@ var $src = null;
|
|||||||
// $tmp=str_replace(" "," ",$tmp);
|
// $tmp=str_replace(" "," ",$tmp);
|
||||||
// }
|
// }
|
||||||
# on enlève les caractères spéciaux
|
# on enlève les caractères spéciaux
|
||||||
// $tmp=unhtmlentities($tmp);
|
$tmp=unhtmlentities($tmp);
|
||||||
// $tmp = eregi_replace("^[[:space:]]*[a-z]+[.)".chr(176)."]([[:space:]]*)", "",$tmp);
|
// $tmp = mb_eregi_replace("^[[:space:]]*[a-z]+[.)".chr(176)."]([[:space:]]*)", "",$tmp);
|
||||||
# on a maintenant une chaine propre à l'utilisation...
|
# on a maintenant une chaine propre à l'utilisation...
|
||||||
# On enleve les retours à la ligne
|
# On enleve les retours à la ligne
|
||||||
$tmp=str_replace(chr(13).chr(10),"",$tmp);
|
$tmp=str_replace(chr(13).chr(10),"",$tmp);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user