private function make_outlink_nofollow() { if ('a' == $this->name) { $href = $this->get_attribute('href'); if (!empty($href)) { if (!SB_Core::is_my_domain($href)) { $this->set_attribute('rel', 'nofollow'); $this->set_attribute('target', '_blank'); } } } }