better highlighting in URL

darcs-hash:20080709231638-84dde-91dd99af8fbeae8b2400543913efedec3938b2aa.gz
This commit is contained in:
Evan Prodromou 2008-07-09 19:16:38 -04:00
parent 161cbe6f5d
commit 354ee48eee

View File

@ -101,8 +101,8 @@ class PeoplesearchAction extends SearchAction {
common_element_end('p');
if ($profile->homepage) {
common_element_start('p', 'website');
common_element('a', array('href' => $profile->homepage),
$this->highlight($profile->homepage, $terms));
common_element_start('a', array('href' => $profile->homepage));
common_raw($this->highlight($profile->homepage, $terms));
common_element_end('p');
}
if ($profile->bio) {