Skip to content

Commit e31f27e

Browse files
committed
Fix HTML5 Validation
The HTML validation of a document with Debugbar enabled gives this error `Element link is missing required attribute property.` The line source of the error is link of stylesheet: ``` <link rel='stylesheet' type='text/css' href='http://localhost:8080/_debugbar/assets/stylesheets?v=1462974883'> ```
1 parent 92556ec commit e31f27e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/JavascriptRenderer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public function renderHead()
4545
'v' => $this->getModifiedTime('js')
4646
]);
4747

48-
$html = "<link rel='stylesheet' type='text/css' href='{$cssRoute}'>";
48+
$html = "<link rel='stylesheet' type='text/css' property='stylesheet' href='{$cssRoute}'>";
4949
$html .= "<script type='text/javascript' src='{$jsRoute}'></script>";
5050

5151
if ($this->isJqueryNoConflictEnabled()) {

0 commit comments

Comments
 (0)