|
@@ 417-418 (lines=2) @@
|
| 414 |
|
$texte = unicode2charset($texte); |
| 415 |
|
// cas particulier des " et ' qu'il faut filtrer aussi |
| 416 |
|
// (on le faisait deja avec un ") |
| 417 |
|
if (strpos($texte,"&#")!==false) |
| 418 |
|
$texte = str_replace(array("'","'",""","""), array("'","'",'"','"'), $texte); |
| 419 |
|
return $texte; |
| 420 |
|
} |
| 421 |
|
|
|
@@ 1604-1605 (lines=2) @@
|
| 1601 |
|
$r[4] = trim($r[2]); |
| 1602 |
|
} |
| 1603 |
|
$att = $r[4]; |
| 1604 |
|
if (strpos($att,"&#")!==false) |
| 1605 |
|
$att = str_replace(array("'","'",""","""), array("'","'",'"','"'), $att); |
| 1606 |
|
$att = filtrer_entites($att); |
| 1607 |
|
} |
| 1608 |
|
else |