remove hashchars from pub keywords

This commit is contained in:
friendica 2011-12-20 03:04:20 -08:00
parent 0bef863015
commit c0c4c46874
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ function profile_init(&$a) {
if(! $blocked) {
$keywords = ((x($a->profile,'pub_keywords')) ? $a->profile['pub_keywords'] : '');
$keywords = str_replace(array(',',' ',',,'),array(' ',',',','),$keywords);
$keywords = str_replace(array('#',',',' ',',,'),array('',' ',',',','),$keywords);
if(strlen($keywords))
$a->page['htmlhead'] .= '<meta name="keywords" content="' . $keywords . '" />' . "\r\n" ;
}