diff --git a/cake/libs/view/helpers/html.php b/cake/libs/view/helpers/html.php index 2e28e03a7..f42cfd44e 100644 --- a/cake/libs/view/helpers/html.php +++ b/cake/libs/view/helpers/html.php @@ -231,12 +231,12 @@ class HtmlHelper extends AppHelper { if (isset($attributes['link'])) { if (isset($attributes['rel']) && $attributes['rel'] === 'icon') { - $out = sprintf($this->tags['metalink'], $attributes['link'], $this->_parseAttributes($attributes, array('link'))); + $out = sprintf($this->tags['metalink'], $attributes['link'], $this->_parseAttributes($attributes, array('link'), ' ', ' ')); $attributes['rel'] = 'shortcut icon'; } else { $attributes['link'] = $this->url($attributes['link'], true); } - $out .= sprintf($this->tags['metalink'], $attributes['link'], $this->_parseAttributes($attributes, array('link'))); + $out .= sprintf($this->tags['metalink'], $attributes['link'], $this->_parseAttributes($attributes, array('link'), ' ', ' ')); } else { $out = sprintf($this->tags['meta'], $this->_parseAttributes($attributes, array('type'))); }