remove hashchars from pub keywords
This commit is contained in:
parent
0bef863015
commit
c0c4c46874
1 changed files with 1 additions and 1 deletions
|
@ -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" ;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue