public function replaceAbsoluteUrls($currentHost = true)
    {
        $hosts = array();

        if ($currentHost === true)
        {
            $hosts[] = $_SERVER["HTTP_HOST"];
        }
        elseif (is_array($currentHost))
        {
            foreach ($currentHost as $h)
            {
                $hosts[] = $h;
            }
        }

        foreach ($hosts as $h)
        {
            $this->filteredHtml = preg_replace("/=([\"'])((http[s]?:\/\/)?".$h.")/usi", '=$1', $this->filteredHtml);
        }
        
        return $this;
    }