I used stripslashes for calling the info from the theme options
<?php
global $options;
foreach ($options as $value) {
if (stripslashes(get_option( $value['id'] )) === FALSE) { $$value['id'] = $value['std']; }
else { $$value['id'] = stripslashes(get_option( $value['id'] )); }
}
?>
and htmlspecialchars() for the value of the input inside the options.