private function html_src($matches) { if (stripos(trim($matches[2]), 'data:') === 0) { return $matches[0]; } return str_replace($matches[2], proxify_url($matches[2], $this->base_url), $matches[0]); }