Function for temporary changing htmlspecialchars value