Dupilcated tags shouldn't happen anymore when parsing a webpage.
This commit is contained in:
parent
5fe8ae514b
commit
20befee9ed
|
@ -280,6 +280,7 @@ function parseurl_getsiteinfo($url, $no_guessing = false, $do_oembed = true, $co
|
|||
if (isset($keywords)) {
|
||||
$siteinfo["keywords"] = array();
|
||||
foreach ($keywords as $keyword)
|
||||
if (!in_array(trim($keyword), $siteinfo["keywords"]))
|
||||
$siteinfo["keywords"][] = trim($keyword);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue