Skip to content

Commit

Permalink
Update HeadRenderer.php
Browse files Browse the repository at this point in the history
  • Loading branch information
zero-24 committed Sep 25, 2020
1 parent 7e17563 commit e347e7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/src/Document/Renderer/Html/HeadRenderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ public function fetchHead($document)
$buffer .= '<!--[if ' . $conditional . ']>';
}

$relation = isset($attribs['relation']) ? $attribs['relation'] : 'stylesheet';
$relation = isset($attribs['rel']) ? $attribs['rel'] : 'stylesheet';
$buffer .= '<link href="' . $src . '" rel="' . $relation . '"';

// Add script tag attributes.
Expand Down

0 comments on commit e347e7e

Please sign in to comment.