Hai provato con:
$testo=stripslashes($testo); ?