public function parseOutput($message)
    {
        $message = preg_replace('#<script.*</script>#i', '', $message);
        $message = preg_replace('#<(br\s*/?|/h3)>#i', PHP_EOL, $message);
        $message = trim(strip_tags($message));
        $message = preg_replace('#'.PHP_EOL.'{2,}#', PHP_EOL, $message);
        $this->addMessage(trim($message));
        return '';
    }