Replace htmlentities and htmlspecialchars with Input_Prepare